Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve4 JavaMembers with cache and lazy load for improve the performance #619

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion rhino/src/main/java/org/mozilla/javascript/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,28 @@ public class Context implements Closeable {
* Internationalization API implementation (see https://tc39.github.io/ecma402) can be activated
* using this feature.
*
* @since 1.7 Release 15
* @since 1.7 Release 16
*/
public static final int FEATURE_INTL_402 = 22;

/**
* Configure whether JavaMembers lazy init off.
*
* <p>default is lazy init.
*
* @since 1.7 Release 16
*/
public static final int FEATURE_JAVAMEMBERS_LAZY_INIT_OFF = 22;

/**
* Configure whether JavaMembers reflect cache off.
*
* <p>default is cache on.
*
* @since 1.7 Release 15
*/
public static final int FEATURE_JAVAMEMBERS_REFLECT_CACHE_OFF = 23;

public static final String languageVersionProperty = "language version";
public static final String errorReporterProperty = "error reporter";

Expand Down
Loading
Loading