Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 2ab52cda08e5 6c97c830fb6f |
children | 4e5515d09314 |
comparison
equal
deleted
inserted
replaced
2490:29246b1d2d3c | 2491:0654ee04b214 |
---|---|
1222 \ | 1222 \ |
1223 product(intx, BiasedLockingDecayTime, 25000, \ | 1223 product(intx, BiasedLockingDecayTime, 25000, \ |
1224 "Decay time (in milliseconds) to re-enable bulk rebiasing of a " \ | 1224 "Decay time (in milliseconds) to re-enable bulk rebiasing of a " \ |
1225 "type after previous bulk rebias") \ | 1225 "type after previous bulk rebias") \ |
1226 \ | 1226 \ |
1227 develop(bool, JavaObjectsInPerm, false, \ | |
1228 "controls whether Classes and interned Strings are allocated" \ | |
1229 "in perm. This purely intended to allow debugging issues" \ | |
1230 "in production.") \ | |
1231 \ | |
1227 /* tracing */ \ | 1232 /* tracing */ \ |
1228 \ | 1233 \ |
1229 notproduct(bool, TraceRuntimeCalls, false, \ | 1234 notproduct(bool, TraceRuntimeCalls, false, \ |
1230 "Trace run-time calls") \ | 1235 "Trace run-time calls") \ |
1231 \ | 1236 \ |
1541 " PLAB resizing during a scavenge") \ | 1546 " PLAB resizing during a scavenge") \ |
1542 \ | 1547 \ |
1543 product(bool, AlwaysPreTouch, false, \ | 1548 product(bool, AlwaysPreTouch, false, \ |
1544 "It forces all freshly committed pages to be pre-touched.") \ | 1549 "It forces all freshly committed pages to be pre-touched.") \ |
1545 \ | 1550 \ |
1546 product(bool, CMSUseOldDefaults, false, \ | 1551 product_pd(intx, CMSYoungGenPerWorker, \ |
1547 "A flag temporarily introduced to allow reverting to some " \ | 1552 "The maximum size of young gen chosen by default per GC worker " \ |
1548 "older default settings; older as of 6.0") \ | |
1549 \ | |
1550 product(intx, CMSYoungGenPerWorker, 16*M, \ | |
1551 "The amount of young gen chosen by default per GC worker " \ | |
1552 "thread available") \ | 1553 "thread available") \ |
1553 \ | 1554 \ |
1554 product(bool, GCOverheadReporting, false, \ | 1555 product(bool, GCOverheadReporting, false, \ |
1555 "Enables the GC overhead reporting facility") \ | 1556 "Enables the GC overhead reporting facility") \ |
1556 \ | 1557 \ |
1924 "Total collections between promotion failures alot") \ | 1925 "Total collections between promotion failures alot") \ |
1925 \ | 1926 \ |
1926 experimental(intx, WorkStealingSleepMillis, 1, \ | 1927 experimental(intx, WorkStealingSleepMillis, 1, \ |
1927 "Sleep time when sleep is used for yields") \ | 1928 "Sleep time when sleep is used for yields") \ |
1928 \ | 1929 \ |
1929 experimental(uintx, WorkStealingYieldsBeforeSleep, 1000, \ | 1930 experimental(uintx, WorkStealingYieldsBeforeSleep, 5000, \ |
1930 "Number of yields before a sleep is done during workstealing") \ | 1931 "Number of yields before a sleep is done during workstealing") \ |
1931 \ | 1932 \ |
1932 experimental(uintx, WorkStealingHardSpins, 4096, \ | 1933 experimental(uintx, WorkStealingHardSpins, 4096, \ |
1933 "Number of iterations in a spin loop between checks on " \ | 1934 "Number of iterations in a spin loop between checks on " \ |
1934 "time out of hard spin") \ | 1935 "time out of hard spin") \ |
2376 develop(bool, CITraceTypeFlow, false, \ | 2377 develop(bool, CITraceTypeFlow, false, \ |
2377 "detailed per-bytecode tracing of ciTypeFlow analysis") \ | 2378 "detailed per-bytecode tracing of ciTypeFlow analysis") \ |
2378 \ | 2379 \ |
2379 develop(intx, CICloneLoopTestLimit, 100, \ | 2380 develop(intx, CICloneLoopTestLimit, 100, \ |
2380 "size limit for blocks heuristically cloned in ciTypeFlow") \ | 2381 "size limit for blocks heuristically cloned in ciTypeFlow") \ |
2382 \ | |
2383 develop(intx, OSROnlyBCI, -1, \ | |
2384 "OSR only at this bci. Negative values mean exclude that bci") \ | |
2381 \ | 2385 \ |
2382 /* temp diagnostics */ \ | 2386 /* temp diagnostics */ \ |
2383 \ | 2387 \ |
2384 diagnostic(bool, TraceRedundantCompiles, false, \ | 2388 diagnostic(bool, TraceRedundantCompiles, false, \ |
2385 "Have compile broker print when a request already in the queue is"\ | 2389 "Have compile broker print when a request already in the queue is"\ |
2610 "Compile all methods in all classes in bootstrap class path " \ | 2614 "Compile all methods in all classes in bootstrap class path " \ |
2611 "(stress test)") \ | 2615 "(stress test)") \ |
2612 \ | 2616 \ |
2613 develop(bool, CompileTheWorldPreloadClasses, true, \ | 2617 develop(bool, CompileTheWorldPreloadClasses, true, \ |
2614 "Preload all classes used by a class before start loading") \ | 2618 "Preload all classes used by a class before start loading") \ |
2615 \ | |
2616 notproduct(bool, CompileTheWorldIgnoreInitErrors, false, \ | |
2617 "Compile all methods although class initializer failed") \ | |
2618 \ | 2619 \ |
2619 notproduct(intx, CompileTheWorldSafepointInterval, 100, \ | 2620 notproduct(intx, CompileTheWorldSafepointInterval, 100, \ |
2620 "Force a safepoint every n compiles so sweeper can keep up") \ | 2621 "Force a safepoint every n compiles so sweeper can keep up") \ |
2621 \ | 2622 \ |
2622 develop(bool, TraceIterativeGVN, false, \ | 2623 develop(bool, TraceIterativeGVN, false, \ |
3657 "Use shared spaces in the permanent generation") \ | 3658 "Use shared spaces in the permanent generation") \ |
3658 \ | 3659 \ |
3659 product(bool, RequireSharedSpaces, false, \ | 3660 product(bool, RequireSharedSpaces, false, \ |
3660 "Require shared spaces in the permanent generation") \ | 3661 "Require shared spaces in the permanent generation") \ |
3661 \ | 3662 \ |
3662 product(bool, ForceSharedSpaces, false, \ | |
3663 "Require shared spaces in the permanent generation") \ | |
3664 \ | |
3665 product(bool, DumpSharedSpaces, false, \ | 3663 product(bool, DumpSharedSpaces, false, \ |
3666 "Special mode: JVM reads a class list, loads classes, builds " \ | 3664 "Special mode: JVM reads a class list, loads classes, builds " \ |
3667 "shared spaces, and dumps the shared spaces to a file to be " \ | 3665 "shared spaces, and dumps the shared spaces to a file to be " \ |
3668 "used in future JVM runs.") \ | 3666 "used in future JVM runs.") \ |
3669 \ | 3667 \ |
3696 \ | 3694 \ |
3697 diagnostic(bool, SharedSkipVerify, false, \ | 3695 diagnostic(bool, SharedSkipVerify, false, \ |
3698 "Skip assert() and verify() which page-in unwanted shared " \ | 3696 "Skip assert() and verify() which page-in unwanted shared " \ |
3699 "objects. ") \ | 3697 "objects. ") \ |
3700 \ | 3698 \ |
3699 diagnostic(bool, EnableInvokeDynamic, true, \ | |
3700 "support JSR 292 (method handles, invokedynamic, " \ | |
3701 "anonymous classes") \ | |
3702 \ | |
3701 product(bool, AnonymousClasses, false, \ | 3703 product(bool, AnonymousClasses, false, \ |
3702 "support sun.misc.Unsafe.defineAnonymousClass") \ | 3704 "support sun.misc.Unsafe.defineAnonymousClass (deprecated)") \ |
3703 \ | 3705 \ |
3704 experimental(bool, EnableMethodHandles, false, \ | 3706 experimental(bool, EnableMethodHandles, false, \ |
3705 "support method handles (true by default under JSR 292)") \ | 3707 "support method handles (deprecated)") \ |
3706 \ | 3708 \ |
3707 diagnostic(intx, MethodHandlePushLimit, 3, \ | 3709 diagnostic(intx, MethodHandlePushLimit, 3, \ |
3708 "number of additional stack slots a method handle may push") \ | 3710 "number of additional stack slots a method handle may push") \ |
3709 \ | 3711 \ |
3710 develop(bool, TraceMethodHandles, false, \ | 3712 develop(bool, TraceMethodHandles, false, \ |
3717 "when constructing method handles, try to improve them") \ | 3719 "when constructing method handles, try to improve them") \ |
3718 \ | 3720 \ |
3719 experimental(bool, TrustFinalNonStaticFields, false, \ | 3721 experimental(bool, TrustFinalNonStaticFields, false, \ |
3720 "trust final non-static declarations for constant folding") \ | 3722 "trust final non-static declarations for constant folding") \ |
3721 \ | 3723 \ |
3722 experimental(bool, EnableInvokeDynamic, false, \ | 3724 experimental(bool, AllowInvokeGeneric, true, \ |
3723 "recognize the invokedynamic instruction") \ | 3725 "accept MethodHandle.invoke and MethodHandle.invokeGeneric " \ |
3724 \ | 3726 "as equivalent methods") \ |
3725 experimental(bool, AllowTransitionalJSR292, true, \ | |
3726 "recognize pre-PFD formats of invokedynamic") \ | |
3727 \ | 3727 \ |
3728 develop(bool, TraceInvokeDynamic, false, \ | 3728 develop(bool, TraceInvokeDynamic, false, \ |
3729 "trace internal invoke dynamic operations") \ | 3729 "trace internal invoke dynamic operations") \ |
3730 \ | 3730 \ |
3731 diagnostic(bool, PauseAtStartup, false, \ | 3731 diagnostic(bool, PauseAtStartup, false, \ |
3734 \ | 3734 \ |
3735 diagnostic(ccstr, PauseAtStartupFile, NULL, \ | 3735 diagnostic(ccstr, PauseAtStartupFile, NULL, \ |
3736 "The file to create and for whose removal to await when pausing " \ | 3736 "The file to create and for whose removal to await when pausing " \ |
3737 "at startup. (default: ./vm.paused.<pid>)") \ | 3737 "at startup. (default: ./vm.paused.<pid>)") \ |
3738 \ | 3738 \ |
3739 diagnostic(bool, PauseAtExit, false, \ | |
3740 "Pause and wait for keypress on exit if a debugger is attached") \ | |
3741 \ | |
3739 product(bool, ExtendedDTraceProbes, false, \ | 3742 product(bool, ExtendedDTraceProbes, false, \ |
3740 "Enable performance-impacting dtrace probes") \ | 3743 "Enable performance-impacting dtrace probes") \ |
3741 \ | 3744 \ |
3742 product(bool, DTraceMethodProbes, false, \ | 3745 product(bool, DTraceMethodProbes, false, \ |
3743 "Enable dtrace probes for method-entry and method-exit") \ | 3746 "Enable dtrace probes for method-entry and method-exit") \ |
3751 product(bool, RelaxAccessControlCheck, false, \ | 3754 product(bool, RelaxAccessControlCheck, false, \ |
3752 "Relax the access control checks in the verifier") \ | 3755 "Relax the access control checks in the verifier") \ |
3753 \ | 3756 \ |
3754 diagnostic(bool, PrintDTraceDOF, false, \ | 3757 diagnostic(bool, PrintDTraceDOF, false, \ |
3755 "Print the DTrace DOF passed to the system for JSDT probes") \ | 3758 "Print the DTrace DOF passed to the system for JSDT probes") \ |
3759 \ | |
3760 product(uintx, StringTableSize, 1009, \ | |
3761 "Number of buckets in the interned String table") \ | |
3756 \ | 3762 \ |
3757 product(bool, UseVMInterruptibleIO, false, \ | 3763 product(bool, UseVMInterruptibleIO, false, \ |
3758 "(Unstable, Solaris-specific) Thread interrupt before or with " \ | 3764 "(Unstable, Solaris-specific) Thread interrupt before or with " \ |
3759 "EINTR for I/O operations results in OS_INTRPT. The default value"\ | 3765 "EINTR for I/O operations results in OS_INTRPT. The default value"\ |
3760 " of this flag is true for JDK 6 and earliers") | 3766 " of this flag is true for JDK 6 and earliers") |