equal
deleted
inserted
replaced
93 bool Arguments::_UseOnStackReplacement = UseOnStackReplacement; |
93 bool Arguments::_UseOnStackReplacement = UseOnStackReplacement; |
94 bool Arguments::_BackgroundCompilation = BackgroundCompilation; |
94 bool Arguments::_BackgroundCompilation = BackgroundCompilation; |
95 bool Arguments::_ClipInlining = ClipInlining; |
95 bool Arguments::_ClipInlining = ClipInlining; |
96 intx Arguments::_Tier3InvokeNotifyFreqLog = Tier3InvokeNotifyFreqLog; |
96 intx Arguments::_Tier3InvokeNotifyFreqLog = Tier3InvokeNotifyFreqLog; |
97 intx Arguments::_Tier4InvocationThreshold = Tier4InvocationThreshold; |
97 intx Arguments::_Tier4InvocationThreshold = Tier4InvocationThreshold; |
|
98 |
|
99 bool Arguments::_enable_preview = false; |
98 |
100 |
99 char* Arguments::SharedArchivePath = NULL; |
101 char* Arguments::SharedArchivePath = NULL; |
100 |
102 |
101 AgentLibraryList Arguments::_libraryList; |
103 AgentLibraryList Arguments::_libraryList; |
102 AgentLibraryList Arguments::_agentList; |
104 AgentLibraryList Arguments::_agentList; |
2737 if (!create_numbered_property("jdk.module.addmods", "java.instrument", addmods_count++)) { |
2739 if (!create_numbered_property("jdk.module.addmods", "java.instrument", addmods_count++)) { |
2738 return JNI_ENOMEM; |
2740 return JNI_ENOMEM; |
2739 } |
2741 } |
2740 } |
2742 } |
2741 #endif // !INCLUDE_JVMTI |
2743 #endif // !INCLUDE_JVMTI |
|
2744 // --enable_preview |
|
2745 } else if (match_option(option, "--enable-preview")) { |
|
2746 set_enable_preview(); |
2742 // -Xnoclassgc |
2747 // -Xnoclassgc |
2743 } else if (match_option(option, "-Xnoclassgc")) { |
2748 } else if (match_option(option, "-Xnoclassgc")) { |
2744 if (FLAG_SET_CMDLINE(bool, ClassUnloading, false) != Flag::SUCCESS) { |
2749 if (FLAG_SET_CMDLINE(bool, ClassUnloading, false) != Flag::SUCCESS) { |
2745 return JNI_EINVAL; |
2750 return JNI_EINVAL; |
2746 } |
2751 } |