Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 3464:be4ca325525a
Merge.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Jul 2011 17:32:44 -0700 |
parents | 008adfd6d850 a9b8b43b115f |
children | 04b9a2566eec |
comparison
equal
deleted
inserted
replaced
3239:7c4b4daac19b | 3464:be4ca325525a |
---|---|
618 "special version of Arrays.equals(char[],char[])") \ | 618 "special version of Arrays.equals(char[],char[])") \ |
619 \ | 619 \ |
620 product(bool, UseSSE42Intrinsics, false, \ | 620 product(bool, UseSSE42Intrinsics, false, \ |
621 "SSE4.2 versions of intrinsics") \ | 621 "SSE4.2 versions of intrinsics") \ |
622 \ | 622 \ |
623 product(bool, UseCondCardMark, false, \ | |
624 "Check for already marked card before updating card table") \ | |
625 \ | |
623 develop(bool, TraceCallFixup, false, \ | 626 develop(bool, TraceCallFixup, false, \ |
624 "traces all call fixups") \ | 627 "traces all call fixups") \ |
625 \ | 628 \ |
626 develop(bool, DeoptimizeALot, false, \ | 629 develop(bool, DeoptimizeALot, false, \ |
627 "deoptimize at every exit from the runtime system") \ | 630 "deoptimize at every exit from the runtime system") \ |
1356 "Use the Parallel Scavenge garbage collector") \ | 1359 "Use the Parallel Scavenge garbage collector") \ |
1357 \ | 1360 \ |
1358 product(bool, UseParallelOldGC, false, \ | 1361 product(bool, UseParallelOldGC, false, \ |
1359 "Use the Parallel Old garbage collector") \ | 1362 "Use the Parallel Old garbage collector") \ |
1360 \ | 1363 \ |
1361 product(bool, UseParallelOldGCCompacting, true, \ | |
1362 "In the Parallel Old garbage collector use parallel compaction") \ | |
1363 \ | |
1364 product(bool, UseParallelDensePrefixUpdate, true, \ | |
1365 "In the Parallel Old garbage collector use parallel dense" \ | |
1366 " prefix update") \ | |
1367 \ | |
1368 product(uintx, HeapMaximumCompactionInterval, 20, \ | 1364 product(uintx, HeapMaximumCompactionInterval, 20, \ |
1369 "How often should we maximally compact the heap (not allowing " \ | 1365 "How often should we maximally compact the heap (not allowing " \ |
1370 "any dead space)") \ | 1366 "any dead space)") \ |
1371 \ | 1367 \ |
1372 product(uintx, HeapFirstMaximumCompactionCount, 3, \ | 1368 product(uintx, HeapFirstMaximumCompactionCount, 3, \ |
1381 "limiter (a number between 0-100).") \ | 1377 "limiter (a number between 0-100).") \ |
1382 \ | 1378 \ |
1383 product(uintx, ParallelOldDeadWoodLimiterStdDev, 80, \ | 1379 product(uintx, ParallelOldDeadWoodLimiterStdDev, 80, \ |
1384 "The standard deviation used by the par compact dead wood" \ | 1380 "The standard deviation used by the par compact dead wood" \ |
1385 "limiter (a number between 0-100).") \ | 1381 "limiter (a number between 0-100).") \ |
1386 \ | |
1387 product(bool, UseParallelOldGCDensePrefix, true, \ | |
1388 "Use a dense prefix with the Parallel Old garbage collector") \ | |
1389 \ | 1382 \ |
1390 product(uintx, ParallelGCThreads, 0, \ | 1383 product(uintx, ParallelGCThreads, 0, \ |
1391 "Number of parallel threads parallel gc will use") \ | 1384 "Number of parallel threads parallel gc will use") \ |
1392 \ | 1385 \ |
1393 develop(bool, ParallelOldGCSplitALot, false, \ | 1386 develop(bool, ParallelOldGCSplitALot, false, \ |
1468 "Verbose output for parallel GC.") \ | 1461 "Verbose output for parallel GC.") \ |
1469 \ | 1462 \ |
1470 product(intx, ParallelGCBufferWastePct, 10, \ | 1463 product(intx, ParallelGCBufferWastePct, 10, \ |
1471 "wasted fraction of parallel allocation buffer.") \ | 1464 "wasted fraction of parallel allocation buffer.") \ |
1472 \ | 1465 \ |
1473 product(bool, ParallelGCRetainPLAB, true, \ | 1466 diagnostic(bool, ParallelGCRetainPLAB, false, \ |
1474 "Retain parallel allocation buffers across scavenges.") \ | 1467 "Retain parallel allocation buffers across scavenges; " \ |
1468 " -- disabled because this currently conflicts with " \ | |
1469 " parallel card scanning under certain conditions ") \ | |
1475 \ | 1470 \ |
1476 product(intx, TargetPLABWastePct, 10, \ | 1471 product(intx, TargetPLABWastePct, 10, \ |
1477 "target wasted space in last buffer as pct of overall allocation")\ | 1472 "target wasted space in last buffer as pct of overall allocation")\ |
1478 \ | 1473 \ |
1479 product(uintx, PLABWeight, 75, \ | 1474 product(uintx, PLABWeight, 75, \ |
1503 "we simulate overflow; a smaller number increases frequency") \ | 1498 "we simulate overflow; a smaller number increases frequency") \ |
1504 \ | 1499 \ |
1505 product(uintx, ParGCDesiredObjsFromOverflowList, 20, \ | 1500 product(uintx, ParGCDesiredObjsFromOverflowList, 20, \ |
1506 "The desired number of objects to claim from the overflow list") \ | 1501 "The desired number of objects to claim from the overflow list") \ |
1507 \ | 1502 \ |
1508 product(uintx, CMSParPromoteBlocksToClaim, 16, \ | 1503 diagnostic(intx, ParGCStridesPerThread, 2, \ |
1504 "The number of strides per worker thread that we divide up the " \ | |
1505 "card table scanning work into") \ | |
1506 \ | |
1507 diagnostic(intx, ParGCCardsPerStrideChunk, 256, \ | |
1508 "The number of cards in each chunk of the parallel chunks used " \ | |
1509 "during card table scanning") \ | |
1510 \ | |
1511 product(uintx, CMSParPromoteBlocksToClaim, 16, \ | |
1509 "Number of blocks to attempt to claim when refilling CMS LAB for "\ | 1512 "Number of blocks to attempt to claim when refilling CMS LAB for "\ |
1510 "parallel GC.") \ | 1513 "parallel GC.") \ |
1511 \ | 1514 \ |
1512 product(uintx, OldPLABWeight, 50, \ | 1515 product(uintx, OldPLABWeight, 50, \ |
1513 "Percentage (0-100) used to weight the current sample when" \ | 1516 "Percentage (0-100) used to weight the current sample when" \ |
1835 "Do lots of (expensive) FLS dictionary verification") \ | 1838 "Do lots of (expensive) FLS dictionary verification") \ |
1836 \ | 1839 \ |
1837 develop(bool, VerifyBlockOffsetArray, false, \ | 1840 develop(bool, VerifyBlockOffsetArray, false, \ |
1838 "Do (expensive!) block offset array verification") \ | 1841 "Do (expensive!) block offset array verification") \ |
1839 \ | 1842 \ |
1840 product(bool, BlockOffsetArrayUseUnallocatedBlock, false, \ | 1843 diagnostic(bool, BlockOffsetArrayUseUnallocatedBlock, false, \ |
1841 "Maintain _unallocated_block in BlockOffsetArray" \ | 1844 "Maintain _unallocated_block in BlockOffsetArray" \ |
1842 " (currently applicable only to CMS collector)") \ | 1845 " (currently applicable only to CMS collector)") \ |
1843 \ | 1846 \ |
1844 develop(bool, TraceCMSState, false, \ | 1847 develop(bool, TraceCMSState, false, \ |
1845 "Trace the state of the CMS collection") \ | 1848 "Trace the state of the CMS collection") \ |
2890 \ | 2893 \ |
2891 product(intx, MaxJavaStackTraceDepth, 1024, \ | 2894 product(intx, MaxJavaStackTraceDepth, 1024, \ |
2892 "Max. no. of lines in the stack trace for Java exceptions " \ | 2895 "Max. no. of lines in the stack trace for Java exceptions " \ |
2893 "(0 means all)") \ | 2896 "(0 means all)") \ |
2894 \ | 2897 \ |
2895 NOT_EMBEDDED(develop(intx, GuaranteedSafepointInterval, 1000, \ | 2898 NOT_EMBEDDED(diagnostic(intx, GuaranteedSafepointInterval, 1000, \ |
2896 "Guarantee a safepoint (at least) every so many milliseconds " \ | 2899 "Guarantee a safepoint (at least) every so many milliseconds " \ |
2897 "(0 means none)")) \ | 2900 "(0 means none)")) \ |
2898 \ | 2901 \ |
2899 EMBEDDED_ONLY(product(intx, GuaranteedSafepointInterval, 0, \ | 2902 EMBEDDED_ONLY(product(intx, GuaranteedSafepointInterval, 0, \ |
2900 "Guarantee a safepoint (at least) every so many milliseconds " \ | 2903 "Guarantee a safepoint (at least) every so many milliseconds " \ |
2906 product(intx, NmethodSweepFraction, 4, \ | 2909 product(intx, NmethodSweepFraction, 4, \ |
2907 "Number of invocations of sweeper to cover all nmethods") \ | 2910 "Number of invocations of sweeper to cover all nmethods") \ |
2908 \ | 2911 \ |
2909 product(intx, NmethodSweepCheckInterval, 5, \ | 2912 product(intx, NmethodSweepCheckInterval, 5, \ |
2910 "Compilers wake up every n seconds to possibly sweep nmethods") \ | 2913 "Compilers wake up every n seconds to possibly sweep nmethods") \ |
2914 \ | |
2915 notproduct(bool, LogSweeper, false, \ | |
2916 "Keep a ring buffer of sweeper activity") \ | |
2917 \ | |
2918 notproduct(intx, SweeperLogEntries, 1024, \ | |
2919 "Number of records in the ring buffer of sweeper activity") \ | |
2911 \ | 2920 \ |
2912 notproduct(intx, MemProfilingInterval, 500, \ | 2921 notproduct(intx, MemProfilingInterval, 500, \ |
2913 "Time between each invocation of the MemProfiler") \ | 2922 "Time between each invocation of the MemProfiler") \ |
2914 \ | 2923 \ |
2915 develop(intx, MallocCatchPtr, -1, \ | 2924 develop(intx, MallocCatchPtr, -1, \ |
3707 "support method handles (deprecated)") \ | 3716 "support method handles (deprecated)") \ |
3708 \ | 3717 \ |
3709 diagnostic(intx, MethodHandlePushLimit, 3, \ | 3718 diagnostic(intx, MethodHandlePushLimit, 3, \ |
3710 "number of additional stack slots a method handle may push") \ | 3719 "number of additional stack slots a method handle may push") \ |
3711 \ | 3720 \ |
3721 diagnostic(bool, PrintMethodHandleStubs, false, \ | |
3722 "Print generated stub code for method handles") \ | |
3723 \ | |
3712 develop(bool, TraceMethodHandles, false, \ | 3724 develop(bool, TraceMethodHandles, false, \ |
3713 "trace internal method handle operations") \ | 3725 "trace internal method handle operations") \ |
3714 \ | 3726 \ |
3715 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ | 3727 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ |
3716 "perform extra checks when constructing method handles") \ | 3728 "perform extra checks when constructing method handles") \ |
3717 \ | 3729 \ |
3718 diagnostic(bool, OptimizeMethodHandles, true, \ | 3730 diagnostic(bool, OptimizeMethodHandles, true, \ |
3719 "when constructing method handles, try to improve them") \ | 3731 "when constructing method handles, try to improve them") \ |
3720 \ | 3732 \ |
3733 develop(bool, StressMethodHandleWalk, false, \ | |
3734 "Process all method handles with MethodHandleWalk") \ | |
3735 \ | |
3736 diagnostic(bool, UseRicochetFrames, true, \ | |
3737 "use ricochet stack frames for method handle combination, " \ | |
3738 "if the platform supports them") \ | |
3739 \ | |
3721 experimental(bool, TrustFinalNonStaticFields, false, \ | 3740 experimental(bool, TrustFinalNonStaticFields, false, \ |
3722 "trust final non-static declarations for constant folding") \ | 3741 "trust final non-static declarations for constant folding") \ |
3723 \ | 3742 \ |
3724 experimental(bool, AllowInvokeGeneric, true, \ | 3743 experimental(bool, AllowInvokeGeneric, false, \ |
3725 "accept MethodHandle.invoke and MethodHandle.invokeGeneric " \ | 3744 "accept MethodHandle.invoke and MethodHandle.invokeGeneric " \ |
3726 "as equivalent methods") \ | 3745 "as equivalent methods") \ |
3727 \ | 3746 \ |
3728 develop(bool, TraceInvokeDynamic, false, \ | 3747 develop(bool, TraceInvokeDynamic, false, \ |
3729 "trace internal invoke dynamic operations") \ | 3748 "trace internal invoke dynamic operations") \ |