Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 8883:b9a918201d47
Merge with hsx25
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Sat, 06 Apr 2013 20:04:06 +0200 |
parents | b8f261ba79c6 0ca3dd0ffaba |
children | 89e4d67fdd2a |
comparison
equal
deleted
inserted
replaced
8660:d47b52b0ff68 | 8883:b9a918201d47 |
---|---|
469 "Print compressed oops base address and encoding mode") \ | 469 "Print compressed oops base address and encoding mode") \ |
470 \ | 470 \ |
471 lp64_product(intx, ObjectAlignmentInBytes, 8, \ | 471 lp64_product(intx, ObjectAlignmentInBytes, 8, \ |
472 "Default object alignment in bytes, 8 is minimum") \ | 472 "Default object alignment in bytes, 8 is minimum") \ |
473 \ | 473 \ |
474 product(bool, AssumeMP, false, \ | |
475 "Instruct the VM to assume multiple processors are available") \ | |
476 \ | |
474 /* UseMembar is theoretically a temp flag used for memory barrier \ | 477 /* UseMembar is theoretically a temp flag used for memory barrier \ |
475 * removal testing. It was supposed to be removed before FCS but has \ | 478 * removal testing. It was supposed to be removed before FCS but has \ |
476 * been re-added (see 6401008) */ \ | 479 * been re-added (see 6401008) */ \ |
477 product_pd(bool, UseMembar, \ | 480 product_pd(bool, UseMembar, \ |
478 "(Unstable) Issues membars on thread state transitions") \ | 481 "(Unstable) Issues membars on thread state transitions") \ |
691 "Prints out warnings when suspicious many handles are allocated") \ | 694 "Prints out warnings when suspicious many handles are allocated") \ |
692 \ | 695 \ |
693 product(bool, UseCompilerSafepoints, true, \ | 696 product(bool, UseCompilerSafepoints, true, \ |
694 "Stop at safepoints in compiled code") \ | 697 "Stop at safepoints in compiled code") \ |
695 \ | 698 \ |
696 product(bool, UseSplitVerifier, true, \ | |
697 "use split verifier with StackMapTable attributes") \ | |
698 \ | |
699 product(bool, FailOverToOldVerifier, true, \ | 699 product(bool, FailOverToOldVerifier, true, \ |
700 "fail over to old verifier when split verifier fails") \ | 700 "fail over to old verifier when split verifier fails") \ |
701 \ | 701 \ |
702 develop(bool, ShowSafepointMsgs, false, \ | 702 develop(bool, ShowSafepointMsgs, false, \ |
703 "Show msg. about safepoint synch.") \ | 703 "Show msg. about safepoint synch.") \ |
880 product(ccstr, NativeMemoryTracking, "off", \ | 880 product(ccstr, NativeMemoryTracking, "off", \ |
881 "Native memory tracking options") \ | 881 "Native memory tracking options") \ |
882 \ | 882 \ |
883 diagnostic(bool, PrintNMTStatistics, false, \ | 883 diagnostic(bool, PrintNMTStatistics, false, \ |
884 "Print native memory tracking summary data if it is on") \ | 884 "Print native memory tracking summary data if it is on") \ |
885 \ | |
886 diagnostic(bool, AutoShutdownNMT, true, \ | |
887 "Automatically shutdown native memory tracking under stress " \ | |
888 "situation. When set to false, native memory tracking tries to " \ | |
889 "stay alive at the expense of JVM performance") \ | |
885 \ | 890 \ |
886 diagnostic(bool, LogCompilation, false, \ | 891 diagnostic(bool, LogCompilation, false, \ |
887 "Log compilation activity in detail to hotspot.log or LogFile") \ | 892 "Log compilation activity in detail to hotspot.log or LogFile") \ |
888 \ | 893 \ |
889 product(bool, PrintCompilation, false, \ | 894 product(bool, PrintCompilation, false, \ |
1417 \ | 1422 \ |
1418 product(uintx, GCLockerEdenExpansionPercent, 5, \ | 1423 product(uintx, GCLockerEdenExpansionPercent, 5, \ |
1419 "How much the GC can expand the eden by while the GC locker " \ | 1424 "How much the GC can expand the eden by while the GC locker " \ |
1420 "is active (as a percentage)") \ | 1425 "is active (as a percentage)") \ |
1421 \ | 1426 \ |
1427 diagnostic(intx, GCLockerRetryAllocationCount, 2, \ | |
1428 "Number of times to retry allocations when" \ | |
1429 " blocked by the GC locker") \ | |
1430 \ | |
1422 develop(bool, UseCMSAdaptiveFreeLists, true, \ | 1431 develop(bool, UseCMSAdaptiveFreeLists, true, \ |
1423 "Use Adaptive Free Lists in the CMS generation") \ | 1432 "Use Adaptive Free Lists in the CMS generation") \ |
1424 \ | 1433 \ |
1425 develop(bool, UseAsyncConcMarkSweepGC, true, \ | 1434 develop(bool, UseAsyncConcMarkSweepGC, true, \ |
1426 "Use Asynchronous Concurrent Mark-Sweep GC in the old generation")\ | 1435 "Use Asynchronous Concurrent Mark-Sweep GC in the old generation")\ |
1765 product(uintx, CMSWorkQueueDrainThreshold, 10, \ | 1774 product(uintx, CMSWorkQueueDrainThreshold, 10, \ |
1766 "Don't drain below this size per parallel worker/thief") \ | 1775 "Don't drain below this size per parallel worker/thief") \ |
1767 \ | 1776 \ |
1768 manageable(intx, CMSWaitDuration, 2000, \ | 1777 manageable(intx, CMSWaitDuration, 2000, \ |
1769 "Time in milliseconds that CMS thread waits for young GC") \ | 1778 "Time in milliseconds that CMS thread waits for young GC") \ |
1779 \ | |
1780 develop(uintx, CMSCheckInterval, 1000, \ | |
1781 "Interval in milliseconds that CMS thread checks if it " \ | |
1782 "should start a collection cycle") \ | |
1770 \ | 1783 \ |
1771 product(bool, CMSYield, true, \ | 1784 product(bool, CMSYield, true, \ |
1772 "Yield between steps of concurrent mark & sweep") \ | 1785 "Yield between steps of concurrent mark & sweep") \ |
1773 \ | 1786 \ |
1774 product(uintx, CMSBitMapYieldQuantum, 10*M, \ | 1787 product(uintx, CMSBitMapYieldQuantum, 10*M, \ |
1969 "size on systems with small physical memory size") \ | 1982 "size on systems with small physical memory size") \ |
1970 \ | 1983 \ |
1971 product(uintx, InitialRAMFraction, 64, \ | 1984 product(uintx, InitialRAMFraction, 64, \ |
1972 "Fraction (1/n) of real memory used for initial heap size") \ | 1985 "Fraction (1/n) of real memory used for initial heap size") \ |
1973 \ | 1986 \ |
1987 develop(uintx, MaxVirtMemFraction, 2, \ | |
1988 "Maximum fraction (1/n) of virtual memory used for ergonomically" \ | |
1989 "determining maximum heap size") \ | |
1990 \ | |
1974 product(bool, UseAutoGCSelectPolicy, false, \ | 1991 product(bool, UseAutoGCSelectPolicy, false, \ |
1975 "Use automatic collection selection policy") \ | 1992 "Use automatic collection selection policy") \ |
1976 \ | 1993 \ |
1977 product(uintx, AutoGCSelectPauseMillis, 5000, \ | 1994 product(uintx, AutoGCSelectPauseMillis, 5000, \ |
1978 "Automatic GC selection pause threshhold in ms") \ | 1995 "Automatic GC selection pause threshhold in ms") \ |
2526 \ | 2543 \ |
2527 notproduct(bool, IgnoreLockingAssertions, false, \ | 2544 notproduct(bool, IgnoreLockingAssertions, false, \ |
2528 "disable locking assertions (for speed)") \ | 2545 "disable locking assertions (for speed)") \ |
2529 \ | 2546 \ |
2530 product(bool, RangeCheckElimination, true, \ | 2547 product(bool, RangeCheckElimination, true, \ |
2531 "Split loop iterations to eliminate range checks") \ | 2548 "Eliminate range checks") \ |
2532 \ | 2549 \ |
2533 develop_pd(bool, UncommonNullCast, \ | 2550 develop_pd(bool, UncommonNullCast, \ |
2534 "track occurrences of null in casts; adjust compiler tactics") \ | 2551 "track occurrences of null in casts; adjust compiler tactics") \ |
2535 \ | 2552 \ |
2536 develop(bool, TypeProfileCasts, true, \ | 2553 develop(bool, TypeProfileCasts, true, \ |
2918 "malloc/realloc/free") \ | 2935 "malloc/realloc/free") \ |
2919 \ | 2936 \ |
2920 diagnostic(intx, MallocVerifyStart, 0, \ | 2937 diagnostic(intx, MallocVerifyStart, 0, \ |
2921 "if non-zero, start verifying C heap after Nth call to " \ | 2938 "if non-zero, start verifying C heap after Nth call to " \ |
2922 "malloc/realloc/free") \ | 2939 "malloc/realloc/free") \ |
2940 \ | |
2941 diagnostic(uintx, MallocMaxTestWords, 0, \ | |
2942 "if non-zero, max # of Words that malloc/realloc can allocate " \ | |
2943 "(for testing only)") \ | |
2923 \ | 2944 \ |
2924 product_pd(intx, TypeProfileWidth, \ | 2945 product_pd(intx, TypeProfileWidth, \ |
2925 "number of receiver types to record in call/cast profile") \ | 2946 "number of receiver types to record in call/cast profile") \ |
2926 \ | 2947 \ |
2927 develop(intx, BciProfileWidth, 2, \ | 2948 develop(intx, BciProfileWidth, 2, \ |
3583 "Size of the shared miscellaneous data area (in bytes)") \ | 3604 "Size of the shared miscellaneous data area (in bytes)") \ |
3584 \ | 3605 \ |
3585 product(uintx, SharedMiscCodeSize, 120*K, \ | 3606 product(uintx, SharedMiscCodeSize, 120*K, \ |
3586 "Size of the shared miscellaneous code area (in bytes)") \ | 3607 "Size of the shared miscellaneous code area (in bytes)") \ |
3587 \ | 3608 \ |
3588 product(uintx, SharedDummyBlockSize, 0, \ | 3609 product(uintx, SharedBaseAddress, LP64_ONLY(32*G) \ |
3589 "Size of dummy block used to shift heap addresses (in bytes)") \ | 3610 NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \ |
3611 "Address to allocate shared memory region for class data") \ | |
3590 \ | 3612 \ |
3591 diagnostic(bool, EnableInvokeDynamic, true, \ | 3613 diagnostic(bool, EnableInvokeDynamic, true, \ |
3592 "support JSR 292 (method handles, invokedynamic, " \ | 3614 "support JSR 292 (method handles, invokedynamic, " \ |
3593 "anonymous classes") \ | 3615 "anonymous classes") \ |
3594 \ | 3616 \ |
3658 \ | 3680 \ |
3659 diagnostic(bool, WhiteBoxAPI, false, \ | 3681 diagnostic(bool, WhiteBoxAPI, false, \ |
3660 "Enable internal testing APIs") \ | 3682 "Enable internal testing APIs") \ |
3661 \ | 3683 \ |
3662 product(bool, PrintGCCause, true, \ | 3684 product(bool, PrintGCCause, true, \ |
3663 "Include GC cause in GC logging") | 3685 "Include GC cause in GC logging") \ |
3686 \ | |
3687 product(bool, AllowNonVirtualCalls, false, \ | |
3688 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") | |
3664 | 3689 |
3665 /* | 3690 /* |
3666 * Macros for factoring of globals | 3691 * Macros for factoring of globals |
3667 */ | 3692 */ |
3668 | 3693 |