Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/globals.hpp @ 13086:096c224171c4
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 20 Nov 2013 00:10:38 +0100 |
parents | f1a55428a8d7 e74074c34312 |
children | 02f27ecb4f3a |
comparison
equal
deleted
inserted
replaced
12782:92b7ec34ddfa | 13086:096c224171c4 |
---|---|
494 // it can be done in the same way as product_rw. | 494 // it can be done in the same way as product_rw. |
495 | 495 |
496 #define RUNTIME_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, lp64_product) \ | 496 #define RUNTIME_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, lp64_product) \ |
497 \ | 497 \ |
498 lp64_product(bool, UseCompressedOops, false, \ | 498 lp64_product(bool, UseCompressedOops, false, \ |
499 "Use 32-bit object references in 64-bit VM " \ | 499 "Use 32-bit object references in 64-bit VM. " \ |
500 "lp64_product means flag is always constant in 32 bit VM") \ | 500 "lp64_product means flag is always constant in 32 bit VM") \ |
501 \ | 501 \ |
502 lp64_product(bool, UseCompressedClassPointers, false, \ | 502 lp64_product(bool, UseCompressedClassPointers, false, \ |
503 "Use 32-bit class pointers in 64-bit VM " \ | 503 "Use 32-bit class pointers in 64-bit VM. " \ |
504 "lp64_product means flag is always constant in 32 bit VM") \ | 504 "lp64_product means flag is always constant in 32 bit VM") \ |
505 \ | 505 \ |
506 notproduct(bool, CheckCompressedOops, true, \ | 506 notproduct(bool, CheckCompressedOops, true, \ |
507 "generate checks in encoding/decoding code in debug VM") \ | 507 "Generate checks in encoding/decoding code in debug VM") \ |
508 \ | 508 \ |
509 product_pd(uintx, HeapBaseMinAddress, \ | 509 product_pd(uintx, HeapBaseMinAddress, \ |
510 "OS specific low limit for heap base address") \ | 510 "OS specific low limit for heap base address") \ |
511 \ | 511 \ |
512 diagnostic(bool, PrintCompressedOopsMode, false, \ | 512 diagnostic(bool, PrintCompressedOopsMode, false, \ |
513 "Print compressed oops base address and encoding mode") \ | 513 "Print compressed oops base address and encoding mode") \ |
514 \ | 514 \ |
515 lp64_product(intx, ObjectAlignmentInBytes, 8, \ | 515 lp64_product(intx, ObjectAlignmentInBytes, 8, \ |
516 "Default object alignment in bytes, 8 is minimum") \ | 516 "Default object alignment in bytes, 8 is minimum") \ |
517 \ | 517 \ |
518 product(bool, AssumeMP, false, \ | 518 product(bool, AssumeMP, false, \ |
530 */ \ | 530 */ \ |
531 product(bool, UsePPCLWSYNC, true, \ | 531 product(bool, UsePPCLWSYNC, true, \ |
532 "Use lwsync instruction if true, else use slower sync") \ | 532 "Use lwsync instruction if true, else use slower sync") \ |
533 \ | 533 \ |
534 develop(bool, CleanChunkPoolAsync, falseInEmbedded, \ | 534 develop(bool, CleanChunkPoolAsync, falseInEmbedded, \ |
535 "Whether to clean the chunk pool asynchronously") \ | 535 "Clean the chunk pool asynchronously") \ |
536 \ | 536 \ |
537 /* Temporary: See 6948537 */ \ | 537 /* Temporary: See 6948537 */ \ |
538 experimental(bool, UseMemSetInBOT, true, \ | 538 experimental(bool, UseMemSetInBOT, true, \ |
539 "(Unstable) uses memset in BOT updates in GC code") \ | 539 "(Unstable) uses memset in BOT updates in GC code") \ |
540 \ | 540 \ |
541 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ | 541 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ |
542 "Enable normal processing of flags relating to field diagnostics")\ | 542 "Enable normal processing of flags relating to field diagnostics")\ |
543 \ | 543 \ |
544 experimental(bool, UnlockExperimentalVMOptions, false, \ | 544 experimental(bool, UnlockExperimentalVMOptions, false, \ |
545 "Enable normal processing of flags relating to experimental features")\ | 545 "Enable normal processing of flags relating to experimental " \ |
546 "features") \ | |
546 \ | 547 \ |
547 product(bool, JavaMonitorsInStackTrace, true, \ | 548 product(bool, JavaMonitorsInStackTrace, true, \ |
548 "Print info. about Java monitor locks when the stacks are dumped")\ | 549 "Print information about Java monitor locks when the stacks are" \ |
550 "dumped") \ | |
549 \ | 551 \ |
550 product_pd(bool, UseLargePages, \ | 552 product_pd(bool, UseLargePages, \ |
551 "Use large page memory") \ | 553 "Use large page memory") \ |
552 \ | 554 \ |
553 product_pd(bool, UseLargePagesIndividualAllocation, \ | 555 product_pd(bool, UseLargePagesIndividualAllocation, \ |
554 "Allocate large pages individually for better affinity") \ | 556 "Allocate large pages individually for better affinity") \ |
555 \ | 557 \ |
556 develop(bool, LargePagesIndividualAllocationInjectError, false, \ | 558 develop(bool, LargePagesIndividualAllocationInjectError, false, \ |
557 "Fail large pages individual allocation") \ | 559 "Fail large pages individual allocation") \ |
558 \ | 560 \ |
561 product(bool, UseLargePagesInMetaspace, false, \ | |
562 "Use large page memory in metaspace. " \ | |
563 "Only used if UseLargePages is enabled.") \ | |
564 \ | |
559 develop(bool, TracePageSizes, false, \ | 565 develop(bool, TracePageSizes, false, \ |
560 "Trace page size selection and usage.") \ | 566 "Trace page size selection and usage") \ |
561 \ | 567 \ |
562 product(bool, UseNUMA, false, \ | 568 product(bool, UseNUMA, false, \ |
563 "Use NUMA if available") \ | 569 "Use NUMA if available") \ |
564 \ | 570 \ |
565 product(bool, UseNUMAInterleaving, false, \ | 571 product(bool, UseNUMAInterleaving, false, \ |
570 \ | 576 \ |
571 product(bool, ForceNUMA, false, \ | 577 product(bool, ForceNUMA, false, \ |
572 "Force NUMA optimizations on single-node/UMA systems") \ | 578 "Force NUMA optimizations on single-node/UMA systems") \ |
573 \ | 579 \ |
574 product(uintx, NUMAChunkResizeWeight, 20, \ | 580 product(uintx, NUMAChunkResizeWeight, 20, \ |
575 "Percentage (0-100) used to weigh the current sample when " \ | 581 "Percentage (0-100) used to weigh the current sample when " \ |
576 "computing exponentially decaying average for " \ | 582 "computing exponentially decaying average for " \ |
577 "AdaptiveNUMAChunkSizing") \ | 583 "AdaptiveNUMAChunkSizing") \ |
578 \ | 584 \ |
579 product(uintx, NUMASpaceResizeRate, 1*G, \ | 585 product(uintx, NUMASpaceResizeRate, 1*G, \ |
580 "Do not reallocate more that this amount per collection") \ | 586 "Do not reallocate more than this amount per collection") \ |
581 \ | 587 \ |
582 product(bool, UseAdaptiveNUMAChunkSizing, true, \ | 588 product(bool, UseAdaptiveNUMAChunkSizing, true, \ |
583 "Enable adaptive chunk sizing for NUMA") \ | 589 "Enable adaptive chunk sizing for NUMA") \ |
584 \ | 590 \ |
585 product(bool, NUMAStats, false, \ | 591 product(bool, NUMAStats, false, \ |
592 "True for register window machines (sparc/ia64)") \ | 598 "True for register window machines (sparc/ia64)") \ |
593 \ | 599 \ |
594 product(intx, UseSSE, 99, \ | 600 product(intx, UseSSE, 99, \ |
595 "Highest supported SSE instructions set on x86/x64") \ | 601 "Highest supported SSE instructions set on x86/x64") \ |
596 \ | 602 \ |
597 product(bool, UseAES, false, \ | 603 product(bool, UseAES, false, \ |
598 "Control whether AES instructions can be used on x86/x64") \ | 604 "Control whether AES instructions can be used on x86/x64") \ |
599 \ | 605 \ |
600 product(uintx, LargePageSizeInBytes, 0, \ | 606 product(uintx, LargePageSizeInBytes, 0, \ |
601 "Large page size (0 to let VM choose the page size") \ | 607 "Large page size (0 to let VM choose the page size)") \ |
602 \ | 608 \ |
603 product(uintx, LargePageHeapSizeThreshold, 128*M, \ | 609 product(uintx, LargePageHeapSizeThreshold, 128*M, \ |
604 "Use large pages if max heap is at least this big") \ | 610 "Use large pages if maximum heap is at least this big") \ |
605 \ | 611 \ |
606 product(bool, ForceTimeHighResolution, false, \ | 612 product(bool, ForceTimeHighResolution, false, \ |
607 "Using high time resolution(For Win32 only)") \ | 613 "Using high time resolution (for Win32 only)") \ |
608 \ | 614 \ |
609 develop(bool, TraceItables, false, \ | 615 develop(bool, TraceItables, false, \ |
610 "Trace initialization and use of itables") \ | 616 "Trace initialization and use of itables") \ |
611 \ | 617 \ |
612 develop(bool, TracePcPatching, false, \ | 618 develop(bool, TracePcPatching, false, \ |
618 develop(bool, TraceRelocator, false, \ | 624 develop(bool, TraceRelocator, false, \ |
619 "Trace the bytecode relocator") \ | 625 "Trace the bytecode relocator") \ |
620 \ | 626 \ |
621 develop(bool, TraceLongCompiles, false, \ | 627 develop(bool, TraceLongCompiles, false, \ |
622 "Print out every time compilation is longer than " \ | 628 "Print out every time compilation is longer than " \ |
623 "a given threashold") \ | 629 "a given threshold") \ |
624 \ | 630 \ |
625 develop(bool, SafepointALot, false, \ | 631 develop(bool, SafepointALot, false, \ |
626 "Generates a lot of safepoints. Works with " \ | 632 "Generate a lot of safepoints. This works with " \ |
627 "GuaranteedSafepointInterval") \ | 633 "GuaranteedSafepointInterval") \ |
628 \ | 634 \ |
629 product_pd(bool, BackgroundCompilation, \ | 635 product_pd(bool, BackgroundCompilation, \ |
630 "A thread requesting compilation is not blocked during " \ | 636 "A thread requesting compilation is not blocked during " \ |
631 "compilation") \ | 637 "compilation") \ |
632 \ | 638 \ |
633 product(bool, PrintVMQWaitTime, false, \ | 639 product(bool, PrintVMQWaitTime, false, \ |
634 "Prints out the waiting time in VM operation queue") \ | 640 "Print out the waiting time in VM operation queue") \ |
635 \ | 641 \ |
636 develop(bool, NoYieldsInMicrolock, false, \ | 642 develop(bool, NoYieldsInMicrolock, false, \ |
637 "Disable yields in microlock") \ | 643 "Disable yields in microlock") \ |
638 \ | 644 \ |
639 develop(bool, TraceOopMapGeneration, false, \ | 645 develop(bool, TraceOopMapGeneration, false, \ |
640 "Shows oopmap generation") \ | 646 "Show OopMapGeneration") \ |
641 \ | 647 \ |
642 product(bool, MethodFlushing, true, \ | 648 product(bool, MethodFlushing, true, \ |
643 "Reclamation of zombie and not-entrant methods") \ | 649 "Reclamation of zombie and not-entrant methods") \ |
644 \ | 650 \ |
645 develop(bool, VerifyStack, false, \ | 651 develop(bool, VerifyStack, false, \ |
646 "Verify stack of each thread when it is entering a runtime call") \ | 652 "Verify stack of each thread when it is entering a runtime call") \ |
647 \ | 653 \ |
648 diagnostic(bool, ForceUnreachable, false, \ | 654 diagnostic(bool, ForceUnreachable, false, \ |
649 "Make all non code cache addresses to be unreachable with forcing use of 64bit literal fixups") \ | 655 "Make all non code cache addresses to be unreachable by " \ |
656 "forcing use of 64bit literal fixups") \ | |
650 \ | 657 \ |
651 notproduct(bool, StressDerivedPointers, false, \ | 658 notproduct(bool, StressDerivedPointers, false, \ |
652 "Force scavenge when a derived pointers is detected on stack " \ | 659 "Force scavenge when a derived pointer is detected on stack " \ |
653 "after rtm call") \ | 660 "after rtm call") \ |
654 \ | 661 \ |
655 develop(bool, TraceDerivedPointers, false, \ | 662 develop(bool, TraceDerivedPointers, false, \ |
656 "Trace traversal of derived pointers on stack") \ | 663 "Trace traversal of derived pointers on stack") \ |
657 \ | 664 \ |
666 \ | 673 \ |
667 product(bool, UseInlineCaches, true, \ | 674 product(bool, UseInlineCaches, true, \ |
668 "Use Inline Caches for virtual calls ") \ | 675 "Use Inline Caches for virtual calls ") \ |
669 \ | 676 \ |
670 develop(bool, InlineArrayCopy, true, \ | 677 develop(bool, InlineArrayCopy, true, \ |
671 "inline arraycopy native that is known to be part of " \ | 678 "Inline arraycopy native that is known to be part of " \ |
672 "base library DLL") \ | 679 "base library DLL") \ |
673 \ | 680 \ |
674 develop(bool, InlineObjectHash, true, \ | 681 develop(bool, InlineObjectHash, true, \ |
675 "inline Object::hashCode() native that is known to be part " \ | 682 "Inline Object::hashCode() native that is known to be part " \ |
676 "of base library DLL") \ | 683 "of base library DLL") \ |
677 \ | 684 \ |
678 develop(bool, InlineNatives, true, \ | 685 develop(bool, InlineNatives, true, \ |
679 "inline natives that are known to be part of base library DLL") \ | 686 "Inline natives that are known to be part of base library DLL") \ |
680 \ | 687 \ |
681 develop(bool, InlineMathNatives, true, \ | 688 develop(bool, InlineMathNatives, true, \ |
682 "inline SinD, CosD, etc.") \ | 689 "Inline SinD, CosD, etc.") \ |
683 \ | 690 \ |
684 develop(bool, InlineClassNatives, true, \ | 691 develop(bool, InlineClassNatives, true, \ |
685 "inline Class.isInstance, etc") \ | 692 "Inline Class.isInstance, etc") \ |
686 \ | 693 \ |
687 develop(bool, InlineThreadNatives, true, \ | 694 develop(bool, InlineThreadNatives, true, \ |
688 "inline Thread.currentThread, etc") \ | 695 "Inline Thread.currentThread, etc") \ |
689 \ | 696 \ |
690 develop(bool, InlineUnsafeOps, true, \ | 697 develop(bool, InlineUnsafeOps, true, \ |
691 "inline memory ops (native methods) from sun.misc.Unsafe") \ | 698 "Inline memory ops (native methods) from sun.misc.Unsafe") \ |
692 \ | 699 \ |
693 product(bool, CriticalJNINatives, true, \ | 700 product(bool, CriticalJNINatives, true, \ |
694 "check for critical JNI entry points") \ | 701 "Check for critical JNI entry points") \ |
695 \ | 702 \ |
696 notproduct(bool, StressCriticalJNINatives, false, \ | 703 notproduct(bool, StressCriticalJNINatives, false, \ |
697 "Exercise register saving code in critical natives") \ | 704 "Exercise register saving code in critical natives") \ |
698 \ | 705 \ |
699 product(bool, UseSSE42Intrinsics, false, \ | 706 product(bool, UseSSE42Intrinsics, false, \ |
700 "SSE4.2 versions of intrinsics") \ | 707 "SSE4.2 versions of intrinsics") \ |
701 \ | 708 \ |
702 product(bool, UseAESIntrinsics, false, \ | 709 product(bool, UseAESIntrinsics, false, \ |
703 "use intrinsics for AES versions of crypto") \ | 710 "Use intrinsics for AES versions of crypto") \ |
704 \ | 711 \ |
705 product(bool, UseCRC32Intrinsics, false, \ | 712 product(bool, UseCRC32Intrinsics, false, \ |
706 "use intrinsics for java.util.zip.CRC32") \ | 713 "use intrinsics for java.util.zip.CRC32") \ |
707 \ | 714 \ |
708 develop(bool, TraceCallFixup, false, \ | 715 develop(bool, TraceCallFixup, false, \ |
709 "traces all call fixups") \ | 716 "Trace all call fixups") \ |
710 \ | 717 \ |
711 develop(bool, DeoptimizeALot, false, \ | 718 develop(bool, DeoptimizeALot, false, \ |
712 "deoptimize at every exit from the runtime system") \ | 719 "Deoptimize at every exit from the runtime system") \ |
713 \ | 720 \ |
714 notproduct(ccstrlist, DeoptimizeOnlyAt, "", \ | 721 notproduct(ccstrlist, DeoptimizeOnlyAt, "", \ |
715 "a comma separated list of bcis to deoptimize at") \ | 722 "A comma separated list of bcis to deoptimize at") \ |
716 \ | 723 \ |
717 product(bool, DeoptimizeRandom, false, \ | 724 product(bool, DeoptimizeRandom, false, \ |
718 "deoptimize random frames on random exit from the runtime system")\ | 725 "Deoptimize random frames on random exit from the runtime system")\ |
719 \ | 726 \ |
720 notproduct(bool, ZombieALot, false, \ | 727 notproduct(bool, ZombieALot, false, \ |
721 "creates zombies (non-entrant) at exit from the runt. system") \ | 728 "Create zombies (non-entrant) at exit from the runtime system") \ |
722 \ | 729 \ |
723 product(bool, UnlinkSymbolsALot, false, \ | 730 product(bool, UnlinkSymbolsALot, false, \ |
724 "unlink unreferenced symbols from the symbol table at safepoints")\ | 731 "Unlink unreferenced symbols from the symbol table at safepoints")\ |
725 \ | 732 \ |
726 notproduct(bool, WalkStackALot, false, \ | 733 notproduct(bool, WalkStackALot, false, \ |
727 "trace stack (no print) at every exit from the runtime system") \ | 734 "Trace stack (no print) at every exit from the runtime system") \ |
728 \ | 735 \ |
729 product(bool, Debugging, false, \ | 736 product(bool, Debugging, false, \ |
730 "set when executing debug methods in debug.ccp " \ | 737 "Set when executing debug methods in debug.cpp " \ |
731 "(to prevent triggering assertions)") \ | 738 "(to prevent triggering assertions)") \ |
732 \ | 739 \ |
733 notproduct(bool, StrictSafepointChecks, trueInDebug, \ | 740 notproduct(bool, StrictSafepointChecks, trueInDebug, \ |
734 "Enable strict checks that safepoints cannot happen for threads " \ | 741 "Enable strict checks that safepoints cannot happen for threads " \ |
735 "that used No_Safepoint_Verifier") \ | 742 "that use No_Safepoint_Verifier") \ |
736 \ | 743 \ |
737 notproduct(bool, VerifyLastFrame, false, \ | 744 notproduct(bool, VerifyLastFrame, false, \ |
738 "Verify oops on last frame on entry to VM") \ | 745 "Verify oops on last frame on entry to VM") \ |
739 \ | 746 \ |
740 develop(bool, TraceHandleAllocation, false, \ | 747 develop(bool, TraceHandleAllocation, false, \ |
741 "Prints out warnings when suspicious many handles are allocated") \ | 748 "Print out warnings when suspiciously many handles are allocated")\ |
742 \ | 749 \ |
743 product(bool, UseCompilerSafepoints, true, \ | 750 product(bool, UseCompilerSafepoints, true, \ |
744 "Stop at safepoints in compiled code") \ | 751 "Stop at safepoints in compiled code") \ |
745 \ | 752 \ |
746 product(bool, FailOverToOldVerifier, true, \ | 753 product(bool, FailOverToOldVerifier, true, \ |
747 "fail over to old verifier when split verifier fails") \ | 754 "Fail over to old verifier when split verifier fails") \ |
748 \ | 755 \ |
749 develop(bool, ShowSafepointMsgs, false, \ | 756 develop(bool, ShowSafepointMsgs, false, \ |
750 "Show msg. about safepoint synch.") \ | 757 "Show message about safepoint synchronization") \ |
751 \ | 758 \ |
752 product(bool, SafepointTimeout, false, \ | 759 product(bool, SafepointTimeout, false, \ |
753 "Time out and warn or fail after SafepointTimeoutDelay " \ | 760 "Time out and warn or fail after SafepointTimeoutDelay " \ |
754 "milliseconds if failed to reach safepoint") \ | 761 "milliseconds if failed to reach safepoint") \ |
755 \ | 762 \ |
769 \ | 776 \ |
770 product(bool, TraceSuspendWaitFailures, false, \ | 777 product(bool, TraceSuspendWaitFailures, false, \ |
771 "Trace external suspend wait failures") \ | 778 "Trace external suspend wait failures") \ |
772 \ | 779 \ |
773 product(bool, MaxFDLimit, true, \ | 780 product(bool, MaxFDLimit, true, \ |
774 "Bump the number of file descriptors to max in solaris.") \ | 781 "Bump the number of file descriptors to maximum in Solaris") \ |
775 \ | 782 \ |
776 diagnostic(bool, LogEvents, true, \ | 783 diagnostic(bool, LogEvents, true, \ |
777 "Enable the various ring buffer event logs") \ | 784 "Enable the various ring buffer event logs") \ |
778 \ | 785 \ |
779 diagnostic(uintx, LogEventsBufferEntries, 10, \ | 786 diagnostic(uintx, LogEventsBufferEntries, 10, \ |
780 "Enable the various ring buffer event logs") \ | 787 "Number of ring buffer event logs") \ |
781 \ | 788 \ |
782 product(bool, BytecodeVerificationRemote, true, \ | 789 product(bool, BytecodeVerificationRemote, true, \ |
783 "Enables the Java bytecode verifier for remote classes") \ | 790 "Enable the Java bytecode verifier for remote classes") \ |
784 \ | 791 \ |
785 product(bool, BytecodeVerificationLocal, false, \ | 792 product(bool, BytecodeVerificationLocal, false, \ |
786 "Enables the Java bytecode verifier for local classes") \ | 793 "Enable the Java bytecode verifier for local classes") \ |
787 \ | 794 \ |
788 develop(bool, ForceFloatExceptions, trueInDebug, \ | 795 develop(bool, ForceFloatExceptions, trueInDebug, \ |
789 "Force exceptions on FP stack under/overflow") \ | 796 "Force exceptions on FP stack under/overflow") \ |
790 \ | 797 \ |
791 develop(bool, VerifyStackAtCalls, false, \ | 798 develop(bool, VerifyStackAtCalls, false, \ |
793 \ | 800 \ |
794 develop(bool, TraceJavaAssertions, false, \ | 801 develop(bool, TraceJavaAssertions, false, \ |
795 "Trace java language assertions") \ | 802 "Trace java language assertions") \ |
796 \ | 803 \ |
797 notproduct(bool, CheckAssertionStatusDirectives, false, \ | 804 notproduct(bool, CheckAssertionStatusDirectives, false, \ |
798 "temporary - see javaClasses.cpp") \ | 805 "Temporary - see javaClasses.cpp") \ |
799 \ | 806 \ |
800 notproduct(bool, PrintMallocFree, false, \ | 807 notproduct(bool, PrintMallocFree, false, \ |
801 "Trace calls to C heap malloc/free allocation") \ | 808 "Trace calls to C heap malloc/free allocation") \ |
802 \ | 809 \ |
803 product(bool, PrintOopAddress, false, \ | 810 product(bool, PrintOopAddress, false, \ |
812 notproduct(bool, ZapDeadLocalsOld, false, \ | 819 notproduct(bool, ZapDeadLocalsOld, false, \ |
813 "Zap dead locals (old version, zaps all frames when " \ | 820 "Zap dead locals (old version, zaps all frames when " \ |
814 "entering the VM") \ | 821 "entering the VM") \ |
815 \ | 822 \ |
816 notproduct(bool, CheckOopishValues, false, \ | 823 notproduct(bool, CheckOopishValues, false, \ |
817 "Warn if value contains oop ( requires ZapDeadLocals)") \ | 824 "Warn if value contains oop (requires ZapDeadLocals)") \ |
818 \ | 825 \ |
819 develop(bool, UseMallocOnly, false, \ | 826 develop(bool, UseMallocOnly, false, \ |
820 "use only malloc/free for allocation (no resource area/arena)") \ | 827 "Use only malloc/free for allocation (no resource area/arena)") \ |
821 \ | 828 \ |
822 develop(bool, PrintMalloc, false, \ | 829 develop(bool, PrintMalloc, false, \ |
823 "print all malloc/free calls") \ | 830 "Print all malloc/free calls") \ |
824 \ | 831 \ |
825 develop(bool, PrintMallocStatistics, false, \ | 832 develop(bool, PrintMallocStatistics, false, \ |
826 "print malloc/free statistics") \ | 833 "Print malloc/free statistics") \ |
827 \ | 834 \ |
828 develop(bool, ZapResourceArea, trueInDebug, \ | 835 develop(bool, ZapResourceArea, trueInDebug, \ |
829 "Zap freed resource/arena space with 0xABABABAB") \ | 836 "Zap freed resource/arena space with 0xABABABAB") \ |
830 \ | 837 \ |
831 notproduct(bool, ZapVMHandleArea, trueInDebug, \ | 838 notproduct(bool, ZapVMHandleArea, trueInDebug, \ |
833 \ | 840 \ |
834 develop(bool, ZapJNIHandleArea, trueInDebug, \ | 841 develop(bool, ZapJNIHandleArea, trueInDebug, \ |
835 "Zap freed JNI handle space with 0xFEFEFEFE") \ | 842 "Zap freed JNI handle space with 0xFEFEFEFE") \ |
836 \ | 843 \ |
837 notproduct(bool, ZapStackSegments, trueInDebug, \ | 844 notproduct(bool, ZapStackSegments, trueInDebug, \ |
838 "Zap allocated/freed Stack segments with 0xFADFADED") \ | 845 "Zap allocated/freed stack segments with 0xFADFADED") \ |
839 \ | 846 \ |
840 develop(bool, ZapUnusedHeapArea, trueInDebug, \ | 847 develop(bool, ZapUnusedHeapArea, trueInDebug, \ |
841 "Zap unused heap space with 0xBAADBABE") \ | 848 "Zap unused heap space with 0xBAADBABE") \ |
842 \ | 849 \ |
843 develop(bool, TraceZapUnusedHeapArea, false, \ | 850 develop(bool, TraceZapUnusedHeapArea, false, \ |
848 \ | 855 \ |
849 develop(bool, ZapFillerObjects, trueInDebug, \ | 856 develop(bool, ZapFillerObjects, trueInDebug, \ |
850 "Zap filler objects with 0xDEAFBABE") \ | 857 "Zap filler objects with 0xDEAFBABE") \ |
851 \ | 858 \ |
852 develop(bool, PrintVMMessages, true, \ | 859 develop(bool, PrintVMMessages, true, \ |
853 "Print vm messages on console") \ | 860 "Print VM messages on console") \ |
854 \ | 861 \ |
855 product(bool, PrintGCApplicationConcurrentTime, false, \ | 862 product(bool, PrintGCApplicationConcurrentTime, false, \ |
856 "Print the time the application has been running") \ | 863 "Print the time the application has been running") \ |
857 \ | 864 \ |
858 product(bool, PrintGCApplicationStoppedTime, false, \ | 865 product(bool, PrintGCApplicationStoppedTime, false, \ |
859 "Print the time the application has been stopped") \ | 866 "Print the time the application has been stopped") \ |
860 \ | 867 \ |
861 diagnostic(bool, VerboseVerification, false, \ | 868 diagnostic(bool, VerboseVerification, false, \ |
862 "Display detailed verification details") \ | 869 "Display detailed verification details") \ |
863 \ | 870 \ |
864 notproduct(uintx, ErrorHandlerTest, 0, \ | 871 notproduct(uintx, ErrorHandlerTest, 0, \ |
865 "If > 0, provokes an error after VM initialization; the value" \ | 872 "If > 0, provokes an error after VM initialization; the value " \ |
866 "determines which error to provoke. See test_error_handler()" \ | 873 "determines which error to provoke. See test_error_handler() " \ |
867 "in debug.cpp.") \ | 874 "in debug.cpp.") \ |
868 \ | 875 \ |
869 develop(bool, Verbose, false, \ | 876 develop(bool, Verbose, false, \ |
870 "Prints additional debugging information from other modes") \ | 877 "Print additional debugging information from other modes") \ |
871 \ | 878 \ |
872 develop(bool, PrintMiscellaneous, false, \ | 879 develop(bool, PrintMiscellaneous, false, \ |
873 "Prints uncategorized debugging information (requires +Verbose)") \ | 880 "Print uncategorized debugging information (requires +Verbose)") \ |
874 \ | 881 \ |
875 develop(bool, WizardMode, false, \ | 882 develop(bool, WizardMode, false, \ |
876 "Prints much more debugging information") \ | 883 "Print much more debugging information") \ |
877 \ | 884 \ |
878 product(bool, ShowMessageBoxOnError, false, \ | 885 product(bool, ShowMessageBoxOnError, false, \ |
879 "Keep process alive on VM fatal error") \ | 886 "Keep process alive on VM fatal error") \ |
880 \ | 887 \ |
881 product(bool, CreateMinidumpOnCrash, false, \ | 888 product(bool, CreateMinidumpOnCrash, false, \ |
883 \ | 890 \ |
884 product_pd(bool, UseOSErrorReporting, \ | 891 product_pd(bool, UseOSErrorReporting, \ |
885 "Let VM fatal error propagate to the OS (ie. WER on Windows)") \ | 892 "Let VM fatal error propagate to the OS (ie. WER on Windows)") \ |
886 \ | 893 \ |
887 product(bool, SuppressFatalErrorMessage, false, \ | 894 product(bool, SuppressFatalErrorMessage, false, \ |
888 "Do NO Fatal Error report [Avoid deadlock]") \ | 895 "Report NO fatal error message (avoid deadlock)") \ |
889 \ | 896 \ |
890 product(ccstrlist, OnError, "", \ | 897 product(ccstrlist, OnError, "", \ |
891 "Run user-defined commands on fatal error; see VMError.cpp " \ | 898 "Run user-defined commands on fatal error; see VMError.cpp " \ |
892 "for examples") \ | 899 "for examples") \ |
893 \ | 900 \ |
894 product(ccstrlist, OnOutOfMemoryError, "", \ | 901 product(ccstrlist, OnOutOfMemoryError, "", \ |
895 "Run user-defined commands on first java.lang.OutOfMemoryError") \ | 902 "Run user-defined commands on first java.lang.OutOfMemoryError") \ |
896 \ | 903 \ |
897 manageable(bool, HeapDumpBeforeFullGC, false, \ | 904 manageable(bool, HeapDumpBeforeFullGC, false, \ |
898 "Dump heap to file before any major stop-world GC") \ | 905 "Dump heap to file before any major stop-the-world GC") \ |
899 \ | 906 \ |
900 manageable(bool, HeapDumpAfterFullGC, false, \ | 907 manageable(bool, HeapDumpAfterFullGC, false, \ |
901 "Dump heap to file after any major stop-world GC") \ | 908 "Dump heap to file after any major stop-the-world GC") \ |
902 \ | 909 \ |
903 manageable(bool, HeapDumpOnOutOfMemoryError, false, \ | 910 manageable(bool, HeapDumpOnOutOfMemoryError, false, \ |
904 "Dump heap to file when java.lang.OutOfMemoryError is thrown") \ | 911 "Dump heap to file when java.lang.OutOfMemoryError is thrown") \ |
905 \ | 912 \ |
906 manageable(ccstr, HeapDumpPath, NULL, \ | 913 manageable(ccstr, HeapDumpPath, NULL, \ |
907 "When HeapDumpOnOutOfMemoryError is on, the path (filename or" \ | 914 "When HeapDumpOnOutOfMemoryError is on, the path (filename or " \ |
908 "directory) of the dump file (defaults to java_pid<pid>.hprof" \ | 915 "directory) of the dump file (defaults to java_pid<pid>.hprof " \ |
909 "in the working directory)") \ | 916 "in the working directory)") \ |
910 \ | 917 \ |
911 develop(uintx, SegmentedHeapDumpThreshold, 2*G, \ | 918 develop(uintx, SegmentedHeapDumpThreshold, 2*G, \ |
912 "Generate a segmented heap dump (JAVA PROFILE 1.0.2 format) " \ | 919 "Generate a segmented heap dump (JAVA PROFILE 1.0.2 format) " \ |
913 "when the heap usage is larger than this") \ | 920 "when the heap usage is larger than this") \ |
917 \ | 924 \ |
918 develop(bool, BreakAtWarning, false, \ | 925 develop(bool, BreakAtWarning, false, \ |
919 "Execute breakpoint upon encountering VM warning") \ | 926 "Execute breakpoint upon encountering VM warning") \ |
920 \ | 927 \ |
921 develop(bool, TraceVMOperation, false, \ | 928 develop(bool, TraceVMOperation, false, \ |
922 "Trace vm operations") \ | 929 "Trace VM operations") \ |
923 \ | 930 \ |
924 develop(bool, UseFakeTimers, false, \ | 931 develop(bool, UseFakeTimers, false, \ |
925 "Tells whether the VM should use system time or a fake timer") \ | 932 "Tell whether the VM should use system time or a fake timer") \ |
926 \ | 933 \ |
927 product(ccstr, NativeMemoryTracking, "off", \ | 934 product(ccstr, NativeMemoryTracking, "off", \ |
928 "Native memory tracking options") \ | 935 "Native memory tracking options") \ |
929 \ | 936 \ |
930 diagnostic(bool, PrintNMTStatistics, false, \ | 937 diagnostic(bool, PrintNMTStatistics, false, \ |
931 "Print native memory tracking summary data if it is on") \ | 938 "Print native memory tracking summary data if it is on") \ |
932 \ | 939 \ |
933 diagnostic(bool, AutoShutdownNMT, true, \ | 940 diagnostic(bool, AutoShutdownNMT, true, \ |
934 "Automatically shutdown native memory tracking under stress " \ | 941 "Automatically shutdown native memory tracking under stress " \ |
935 "situation. When set to false, native memory tracking tries to " \ | 942 "situations. When set to false, native memory tracking tries to " \ |
936 "stay alive at the expense of JVM performance") \ | 943 "stay alive at the expense of JVM performance") \ |
937 \ | 944 \ |
938 diagnostic(bool, LogCompilation, false, \ | 945 diagnostic(bool, LogCompilation, false, \ |
939 "Log compilation activity in detail to LogFile") \ | 946 "Log compilation activity in detail to LogFile") \ |
940 \ | 947 \ |
941 product(bool, PrintCompilation, false, \ | 948 product(bool, PrintCompilation, false, \ |
942 "Print compilations") \ | 949 "Print compilations") \ |
943 \ | 950 \ |
944 diagnostic(bool, TraceNMethodInstalls, false, \ | 951 diagnostic(bool, TraceNMethodInstalls, false, \ |
945 "Trace nmethod intallation") \ | 952 "Trace nmethod installation") \ |
946 \ | 953 \ |
947 diagnostic(intx, ScavengeRootsInCode, 2, \ | 954 diagnostic(intx, ScavengeRootsInCode, 2, \ |
948 "0: do not allow scavengable oops in the code cache; " \ | 955 "0: do not allow scavengable oops in the code cache; " \ |
949 "1: allow scavenging from the code cache; " \ | 956 "1: allow scavenging from the code cache; " \ |
950 "2: emit as many constants as the compiler can see") \ | 957 "2: emit as many constants as the compiler can see") \ |
951 \ | 958 \ |
952 product(bool, AlwaysRestoreFPU, false, \ | 959 product(bool, AlwaysRestoreFPU, false, \ |
953 "Restore the FPU control word after every JNI call (expensive)") \ | 960 "Restore the FPU control word after every JNI call (expensive)") \ |
954 \ | 961 \ |
955 diagnostic(bool, PrintCompilation2, false, \ | 962 diagnostic(bool, PrintCompilation2, false, \ |
966 \ | 973 \ |
967 diagnostic(bool, PrintAssembly, false, \ | 974 diagnostic(bool, PrintAssembly, false, \ |
968 "Print assembly code (using external disassembler.so)") \ | 975 "Print assembly code (using external disassembler.so)") \ |
969 \ | 976 \ |
970 diagnostic(ccstr, PrintAssemblyOptions, NULL, \ | 977 diagnostic(ccstr, PrintAssemblyOptions, NULL, \ |
971 "Options string passed to disassembler.so") \ | 978 "Print options string passed to disassembler.so") \ |
972 \ | 979 \ |
973 product(bool, PrintNMethodStatistics, false, \ | 980 product(bool, PrintNMethodStatistics, false, \ |
974 "Print a summary statistic for the generated nmethods") \ | 981 "Print a summary statistic for the generated nmethods") \ |
975 \ | 982 \ |
976 diagnostic(bool, PrintNMethods, false, \ | 983 diagnostic(bool, PrintNMethods, false, \ |
990 \ | 997 \ |
991 develop(bool, PrintExceptionHandlers, false, \ | 998 develop(bool, PrintExceptionHandlers, false, \ |
992 "Print exception handler tables for all nmethods when generated") \ | 999 "Print exception handler tables for all nmethods when generated") \ |
993 \ | 1000 \ |
994 develop(bool, StressCompiledExceptionHandlers, false, \ | 1001 develop(bool, StressCompiledExceptionHandlers, false, \ |
995 "Exercise compiled exception handlers") \ | 1002 "Exercise compiled exception handlers") \ |
996 \ | 1003 \ |
997 develop(bool, InterceptOSException, false, \ | 1004 develop(bool, InterceptOSException, false, \ |
998 "Starts debugger when an implicit OS (e.g., NULL) " \ | 1005 "Start debugger when an implicit OS (e.g. NULL) " \ |
999 "exception happens") \ | 1006 "exception happens") \ |
1000 \ | 1007 \ |
1001 product(bool, PrintCodeCache, false, \ | 1008 product(bool, PrintCodeCache, false, \ |
1002 "Print the code cache memory usage when exiting") \ | 1009 "Print the code cache memory usage when exiting") \ |
1003 \ | 1010 \ |
1004 develop(bool, PrintCodeCache2, false, \ | 1011 develop(bool, PrintCodeCache2, false, \ |
1005 "Print detailed usage info on the code cache when exiting") \ | 1012 "Print detailed usage information on the code cache when exiting")\ |
1006 \ | 1013 \ |
1007 product(bool, PrintCodeCacheOnCompilation, false, \ | 1014 product(bool, PrintCodeCacheOnCompilation, false, \ |
1008 "Print the code cache memory usage each time a method is compiled") \ | 1015 "Print the code cache memory usage each time a method is " \ |
1016 "compiled") \ | |
1009 \ | 1017 \ |
1010 diagnostic(bool, PrintStubCode, false, \ | 1018 diagnostic(bool, PrintStubCode, false, \ |
1011 "Print generated stub code") \ | 1019 "Print generated stub code") \ |
1012 \ | 1020 \ |
1013 product(bool, StackTraceInThrowable, true, \ | 1021 product(bool, StackTraceInThrowable, true, \ |
1015 \ | 1023 \ |
1016 product(bool, OmitStackTraceInFastThrow, true, \ | 1024 product(bool, OmitStackTraceInFastThrow, true, \ |
1017 "Omit backtraces for some 'hot' exceptions in optimized code") \ | 1025 "Omit backtraces for some 'hot' exceptions in optimized code") \ |
1018 \ | 1026 \ |
1019 product(bool, ProfilerPrintByteCodeStatistics, false, \ | 1027 product(bool, ProfilerPrintByteCodeStatistics, false, \ |
1020 "Prints byte code statictics when dumping profiler output") \ | 1028 "Print bytecode statistics when dumping profiler output") \ |
1021 \ | 1029 \ |
1022 product(bool, ProfilerRecordPC, false, \ | 1030 product(bool, ProfilerRecordPC, false, \ |
1023 "Collects tick for each 16 byte interval of compiled code") \ | 1031 "Collect ticks for each 16 byte interval of compiled code") \ |
1024 \ | 1032 \ |
1025 product(bool, ProfileVM, false, \ | 1033 product(bool, ProfileVM, false, \ |
1026 "Profiles ticks that fall within VM (either in the VM Thread " \ | 1034 "Profile ticks that fall within VM (either in the VM Thread " \ |
1027 "or VM code called through stubs)") \ | 1035 "or VM code called through stubs)") \ |
1028 \ | 1036 \ |
1029 product(bool, ProfileIntervals, false, \ | 1037 product(bool, ProfileIntervals, false, \ |
1030 "Prints profiles for each interval (see ProfileIntervalsTicks)") \ | 1038 "Print profiles for each interval (see ProfileIntervalsTicks)") \ |
1031 \ | 1039 \ |
1032 notproduct(bool, ProfilerCheckIntervals, false, \ | 1040 notproduct(bool, ProfilerCheckIntervals, false, \ |
1033 "Collect and print info on spacing of profiler ticks") \ | 1041 "Collect and print information on spacing of profiler ticks") \ |
1034 \ | 1042 \ |
1035 develop(bool, PrintJVMWarnings, false, \ | 1043 develop(bool, PrintJVMWarnings, false, \ |
1036 "Prints warnings for unimplemented JVM functions") \ | 1044 "Print warnings for unimplemented JVM functions") \ |
1037 \ | 1045 \ |
1038 product(bool, PrintWarnings, true, \ | 1046 product(bool, PrintWarnings, true, \ |
1039 "Prints JVM warnings to output stream") \ | 1047 "Print JVM warnings to output stream") \ |
1040 \ | 1048 \ |
1041 notproduct(uintx, WarnOnStalledSpinLock, 0, \ | 1049 notproduct(uintx, WarnOnStalledSpinLock, 0, \ |
1042 "Prints warnings for stalled SpinLocks") \ | 1050 "Print warnings for stalled SpinLocks") \ |
1043 \ | 1051 \ |
1044 product(bool, RegisterFinalizersAtInit, true, \ | 1052 product(bool, RegisterFinalizersAtInit, true, \ |
1045 "Register finalizable objects at end of Object.<init> or " \ | 1053 "Register finalizable objects at end of Object.<init> or " \ |
1046 "after allocation") \ | 1054 "after allocation") \ |
1047 \ | 1055 \ |
1048 develop(bool, RegisterReferences, true, \ | 1056 develop(bool, RegisterReferences, true, \ |
1049 "Tells whether the VM should register soft/weak/final/phantom " \ | 1057 "Tell whether the VM should register soft/weak/final/phantom " \ |
1050 "references") \ | 1058 "references") \ |
1051 \ | 1059 \ |
1052 develop(bool, IgnoreRewrites, false, \ | 1060 develop(bool, IgnoreRewrites, false, \ |
1053 "Supress rewrites of bytecodes in the oopmap generator. " \ | 1061 "Suppress rewrites of bytecodes in the oopmap generator. " \ |
1054 "This is unsafe!") \ | 1062 "This is unsafe!") \ |
1055 \ | 1063 \ |
1056 develop(bool, PrintCodeCacheExtension, false, \ | 1064 develop(bool, PrintCodeCacheExtension, false, \ |
1057 "Print extension of code cache") \ | 1065 "Print extension of code cache") \ |
1058 \ | 1066 \ |
1059 develop(bool, UsePrivilegedStack, true, \ | 1067 develop(bool, UsePrivilegedStack, true, \ |
1060 "Enable the security JVM functions") \ | 1068 "Enable the security JVM functions") \ |
1061 \ | 1069 \ |
1062 develop(bool, ProtectionDomainVerification, true, \ | 1070 develop(bool, ProtectionDomainVerification, true, \ |
1063 "Verifies protection domain before resolution in system " \ | 1071 "Verify protection domain before resolution in system dictionary")\ |
1064 "dictionary") \ | |
1065 \ | 1072 \ |
1066 product(bool, ClassUnloading, true, \ | 1073 product(bool, ClassUnloading, true, \ |
1067 "Do unloading of classes") \ | 1074 "Do unloading of classes") \ |
1068 \ | 1075 \ |
1069 develop(bool, DisableStartThread, false, \ | 1076 develop(bool, DisableStartThread, false, \ |
1072 \ | 1079 \ |
1073 develop(bool, MemProfiling, false, \ | 1080 develop(bool, MemProfiling, false, \ |
1074 "Write memory usage profiling to log file") \ | 1081 "Write memory usage profiling to log file") \ |
1075 \ | 1082 \ |
1076 notproduct(bool, PrintSystemDictionaryAtExit, false, \ | 1083 notproduct(bool, PrintSystemDictionaryAtExit, false, \ |
1077 "Prints the system dictionary at exit") \ | 1084 "Print the system dictionary at exit") \ |
1078 \ | 1085 \ |
1079 experimental(intx, PredictedLoadedClassCount, 0, \ | 1086 experimental(intx, PredictedLoadedClassCount, 0, \ |
1080 "Experimental: Tune loaded class cache starting size.") \ | 1087 "Experimental: Tune loaded class cache starting size") \ |
1081 \ | 1088 \ |
1082 diagnostic(bool, UnsyncloadClass, false, \ | 1089 diagnostic(bool, UnsyncloadClass, false, \ |
1083 "Unstable: VM calls loadClass unsynchronized. Custom " \ | 1090 "Unstable: VM calls loadClass unsynchronized. Custom " \ |
1084 "class loader must call VM synchronized for findClass " \ | 1091 "class loader must call VM synchronized for findClass " \ |
1085 "and defineClass.") \ | 1092 "and defineClass.") \ |
1086 \ | 1093 \ |
1087 product(bool, AlwaysLockClassLoader, false, \ | 1094 product(bool, AlwaysLockClassLoader, false, \ |
1088 "Require the VM to acquire the class loader lock before calling " \ | 1095 "Require the VM to acquire the class loader lock before calling " \ |
1089 "loadClass() even for class loaders registering " \ | 1096 "loadClass() even for class loaders registering " \ |
1095 \ | 1102 \ |
1096 product(bool, MustCallLoadClassInternal, false, \ | 1103 product(bool, MustCallLoadClassInternal, false, \ |
1097 "Call loadClassInternal() rather than loadClass()") \ | 1104 "Call loadClassInternal() rather than loadClass()") \ |
1098 \ | 1105 \ |
1099 product_pd(bool, DontYieldALot, \ | 1106 product_pd(bool, DontYieldALot, \ |
1100 "Throw away obvious excess yield calls (for SOLARIS only)") \ | 1107 "Throw away obvious excess yield calls (for Solaris only)") \ |
1101 \ | 1108 \ |
1102 product_pd(bool, ConvertSleepToYield, \ | 1109 product_pd(bool, ConvertSleepToYield, \ |
1103 "Converts sleep(0) to thread yield " \ | 1110 "Convert sleep(0) to thread yield " \ |
1104 "(may be off for SOLARIS to improve GUI)") \ | 1111 "(may be off for Solaris to improve GUI)") \ |
1105 \ | 1112 \ |
1106 product(bool, ConvertYieldToSleep, false, \ | 1113 product(bool, ConvertYieldToSleep, false, \ |
1107 "Converts yield to a sleep of MinSleepInterval to simulate Win32 "\ | 1114 "Convert yield to a sleep of MinSleepInterval to simulate Win32 " \ |
1108 "behavior (SOLARIS only)") \ | 1115 "behavior (Solaris only)") \ |
1109 \ | 1116 \ |
1110 product(bool, UseBoundThreads, true, \ | 1117 product(bool, UseBoundThreads, true, \ |
1111 "Bind user level threads to kernel threads (for SOLARIS only)") \ | 1118 "Bind user level threads to kernel threads (for Solaris only)") \ |
1112 \ | 1119 \ |
1113 develop(bool, UseDetachedThreads, true, \ | 1120 develop(bool, UseDetachedThreads, true, \ |
1114 "Use detached threads that are recycled upon termination " \ | 1121 "Use detached threads that are recycled upon termination " \ |
1115 "(for SOLARIS only)") \ | 1122 "(for Solaris only)") \ |
1116 \ | 1123 \ |
1117 product(bool, UseLWPSynchronization, true, \ | 1124 product(bool, UseLWPSynchronization, true, \ |
1118 "Use LWP-based instead of libthread-based synchronization " \ | 1125 "Use LWP-based instead of libthread-based synchronization " \ |
1119 "(SPARC only)") \ | 1126 "(SPARC only)") \ |
1120 \ | 1127 \ |
1121 product(ccstr, SyncKnobs, NULL, \ | 1128 product(ccstr, SyncKnobs, NULL, \ |
1122 "(Unstable) Various monitor synchronization tunables") \ | 1129 "(Unstable) Various monitor synchronization tunables") \ |
1123 \ | 1130 \ |
1124 product(intx, EmitSync, 0, \ | 1131 product(intx, EmitSync, 0, \ |
1125 "(Unsafe,Unstable) " \ | 1132 "(Unsafe, Unstable) " \ |
1126 " Controls emission of inline sync fast-path code") \ | 1133 "Control emission of inline sync fast-path code") \ |
1127 \ | 1134 \ |
1128 product(intx, MonitorBound, 0, "Bound Monitor population") \ | 1135 product(intx, MonitorBound, 0, "Bound Monitor population") \ |
1129 \ | 1136 \ |
1130 product(bool, MonitorInUseLists, false, "Track Monitors for Deflation") \ | 1137 product(bool, MonitorInUseLists, false, "Track Monitors for Deflation") \ |
1131 \ | 1138 \ |
1132 product(intx, SyncFlags, 0, "(Unsafe,Unstable) Experimental Sync flags" ) \ | 1139 product(intx, SyncFlags, 0, "(Unsafe, Unstable) Experimental Sync flags") \ |
1133 \ | 1140 \ |
1134 product(intx, SyncVerbose, 0, "(Unstable)" ) \ | 1141 product(intx, SyncVerbose, 0, "(Unstable)") \ |
1135 \ | 1142 \ |
1136 product(intx, ClearFPUAtPark, 0, "(Unsafe,Unstable)" ) \ | 1143 product(intx, ClearFPUAtPark, 0, "(Unsafe, Unstable)") \ |
1137 \ | 1144 \ |
1138 product(intx, hashCode, 5, \ | 1145 product(intx, hashCode, 5, \ |
1139 "(Unstable) select hashCode generation algorithm" ) \ | 1146 "(Unstable) select hashCode generation algorithm") \ |
1140 \ | 1147 \ |
1141 product(intx, WorkAroundNPTLTimedWaitHang, 1, \ | 1148 product(intx, WorkAroundNPTLTimedWaitHang, 1, \ |
1142 "(Unstable, Linux-specific)" \ | 1149 "(Unstable, Linux-specific) " \ |
1143 " avoid NPTL-FUTEX hang pthread_cond_timedwait" ) \ | 1150 "avoid NPTL-FUTEX hang pthread_cond_timedwait") \ |
1144 \ | 1151 \ |
1145 product(bool, FilterSpuriousWakeups, true, \ | 1152 product(bool, FilterSpuriousWakeups, true, \ |
1146 "Prevent spurious or premature wakeups from object.wait " \ | 1153 "Prevent spurious or premature wakeups from object.wait " \ |
1147 "(Solaris only)") \ | 1154 "(Solaris only)") \ |
1148 \ | 1155 \ |
1149 product(intx, NativeMonitorTimeout, -1, "(Unstable)" ) \ | 1156 product(intx, NativeMonitorTimeout, -1, "(Unstable)") \ |
1150 product(intx, NativeMonitorFlags, 0, "(Unstable)" ) \ | 1157 \ |
1151 product(intx, NativeMonitorSpinLimit, 20, "(Unstable)" ) \ | 1158 product(intx, NativeMonitorFlags, 0, "(Unstable)") \ |
1159 \ | |
1160 product(intx, NativeMonitorSpinLimit, 20, "(Unstable)") \ | |
1152 \ | 1161 \ |
1153 develop(bool, UsePthreads, false, \ | 1162 develop(bool, UsePthreads, false, \ |
1154 "Use pthread-based instead of libthread-based synchronization " \ | 1163 "Use pthread-based instead of libthread-based synchronization " \ |
1155 "(SPARC only)") \ | 1164 "(SPARC only)") \ |
1156 \ | 1165 \ |
1157 product(bool, AdjustConcurrency, false, \ | 1166 product(bool, AdjustConcurrency, false, \ |
1158 "call thr_setconcurrency at thread create time to avoid " \ | 1167 "Call thr_setconcurrency at thread creation time to avoid " \ |
1159 "LWP starvation on MP systems (For Solaris Only)") \ | 1168 "LWP starvation on MP systems (for Solaris Only)") \ |
1160 \ | 1169 \ |
1161 product(bool, ReduceSignalUsage, false, \ | 1170 product(bool, ReduceSignalUsage, false, \ |
1162 "Reduce the use of OS signals in Java and/or the VM") \ | 1171 "Reduce the use of OS signals in Java and/or the VM") \ |
1163 \ | 1172 \ |
1164 develop_pd(bool, ShareVtableStubs, \ | 1173 develop_pd(bool, ShareVtableStubs, \ |
1165 "Share vtable stubs (smaller code but worse branch prediction") \ | 1174 "Share vtable stubs (smaller code but worse branch prediction") \ |
1166 \ | 1175 \ |
1167 develop(bool, LoadLineNumberTables, true, \ | 1176 develop(bool, LoadLineNumberTables, true, \ |
1168 "Tells whether the class file parser loads line number tables") \ | 1177 "Tell whether the class file parser loads line number tables") \ |
1169 \ | 1178 \ |
1170 develop(bool, LoadLocalVariableTables, true, \ | 1179 develop(bool, LoadLocalVariableTables, true, \ |
1171 "Tells whether the class file parser loads local variable tables")\ | 1180 "Tell whether the class file parser loads local variable tables") \ |
1172 \ | 1181 \ |
1173 develop(bool, LoadLocalVariableTypeTables, true, \ | 1182 develop(bool, LoadLocalVariableTypeTables, true, \ |
1174 "Tells whether the class file parser loads local variable type tables")\ | 1183 "Tell whether the class file parser loads local variable type" \ |
1184 "tables") \ | |
1175 \ | 1185 \ |
1176 product(bool, AllowUserSignalHandlers, false, \ | 1186 product(bool, AllowUserSignalHandlers, false, \ |
1177 "Do not complain if the application installs signal handlers " \ | 1187 "Do not complain if the application installs signal handlers " \ |
1178 "(Solaris & Linux only)") \ | 1188 "(Solaris & Linux only)") \ |
1179 \ | 1189 \ |
1200 product(bool, UseFastJNIAccessors, true, \ | 1210 product(bool, UseFastJNIAccessors, true, \ |
1201 "Use optimized versions of Get<Primitive>Field") \ | 1211 "Use optimized versions of Get<Primitive>Field") \ |
1202 \ | 1212 \ |
1203 product(bool, EagerXrunInit, false, \ | 1213 product(bool, EagerXrunInit, false, \ |
1204 "Eagerly initialize -Xrun libraries; allows startup profiling, " \ | 1214 "Eagerly initialize -Xrun libraries; allows startup profiling, " \ |
1205 " but not all -Xrun libraries may support the state of the VM at this time") \ | 1215 "but not all -Xrun libraries may support the state of the VM " \ |
1216 "at this time") \ | |
1206 \ | 1217 \ |
1207 product(bool, PreserveAllAnnotations, false, \ | 1218 product(bool, PreserveAllAnnotations, false, \ |
1208 "Preserve RuntimeInvisibleAnnotations as well as RuntimeVisibleAnnotations") \ | 1219 "Preserve RuntimeInvisibleAnnotations as well " \ |
1220 "as RuntimeVisibleAnnotations") \ | |
1209 \ | 1221 \ |
1210 develop(uintx, PreallocatedOutOfMemoryErrorCount, 4, \ | 1222 develop(uintx, PreallocatedOutOfMemoryErrorCount, 4, \ |
1211 "Number of OutOfMemoryErrors preallocated with backtrace") \ | 1223 "Number of OutOfMemoryErrors preallocated with backtrace") \ |
1212 \ | 1224 \ |
1213 product(bool, LazyBootClassLoader, true, \ | 1225 product(bool, LazyBootClassLoader, true, \ |
1278 \ | 1290 \ |
1279 product(intx, TraceRedefineClasses, 0, \ | 1291 product(intx, TraceRedefineClasses, 0, \ |
1280 "Trace level for JVMTI RedefineClasses") \ | 1292 "Trace level for JVMTI RedefineClasses") \ |
1281 \ | 1293 \ |
1282 develop(bool, StressMethodComparator, false, \ | 1294 develop(bool, StressMethodComparator, false, \ |
1283 "run the MethodComparator on all loaded methods") \ | 1295 "Run the MethodComparator on all loaded methods") \ |
1284 \ | 1296 \ |
1285 /* change to false by default sometime after Mustang */ \ | 1297 /* change to false by default sometime after Mustang */ \ |
1286 product(bool, VerifyMergedCPBytecodes, true, \ | 1298 product(bool, VerifyMergedCPBytecodes, true, \ |
1287 "Verify bytecodes after RedefineClasses constant pool merging") \ | 1299 "Verify bytecodes after RedefineClasses constant pool merging") \ |
1288 \ | 1300 \ |
1312 \ | 1324 \ |
1313 develop(bool, TraceDependencies, false, \ | 1325 develop(bool, TraceDependencies, false, \ |
1314 "Trace dependencies") \ | 1326 "Trace dependencies") \ |
1315 \ | 1327 \ |
1316 develop(bool, VerifyDependencies, trueInDebug, \ | 1328 develop(bool, VerifyDependencies, trueInDebug, \ |
1317 "Exercise and verify the compilation dependency mechanism") \ | 1329 "Exercise and verify the compilation dependency mechanism") \ |
1318 \ | 1330 \ |
1319 develop(bool, TraceNewOopMapGeneration, false, \ | 1331 develop(bool, TraceNewOopMapGeneration, false, \ |
1320 "Trace OopMapGeneration") \ | 1332 "Trace OopMapGeneration") \ |
1321 \ | 1333 \ |
1322 develop(bool, TraceNewOopMapGenerationDetailed, false, \ | 1334 develop(bool, TraceNewOopMapGenerationDetailed, false, \ |
1330 \ | 1342 \ |
1331 develop(bool, TraceMonitorMismatch, false, \ | 1343 develop(bool, TraceMonitorMismatch, false, \ |
1332 "Trace monitor matching failures during OopMapGeneration") \ | 1344 "Trace monitor matching failures during OopMapGeneration") \ |
1333 \ | 1345 \ |
1334 develop(bool, TraceOopMapRewrites, false, \ | 1346 develop(bool, TraceOopMapRewrites, false, \ |
1335 "Trace rewritting of method oops during oop map generation") \ | 1347 "Trace rewriting of method oops during oop map generation") \ |
1336 \ | 1348 \ |
1337 develop(bool, TraceSafepoint, false, \ | 1349 develop(bool, TraceSafepoint, false, \ |
1338 "Trace safepoint operations") \ | 1350 "Trace safepoint operations") \ |
1339 \ | 1351 \ |
1340 develop(bool, TraceICBuffer, false, \ | 1352 develop(bool, TraceICBuffer, false, \ |
1348 \ | 1360 \ |
1349 develop(bool, TraceStartupTime, false, \ | 1361 develop(bool, TraceStartupTime, false, \ |
1350 "Trace setup time") \ | 1362 "Trace setup time") \ |
1351 \ | 1363 \ |
1352 develop(bool, TraceProtectionDomainVerification, false, \ | 1364 develop(bool, TraceProtectionDomainVerification, false, \ |
1353 "Trace protection domain verifcation") \ | 1365 "Trace protection domain verification") \ |
1354 \ | 1366 \ |
1355 develop(bool, TraceClearedExceptions, false, \ | 1367 develop(bool, TraceClearedExceptions, false, \ |
1356 "Prints when an exception is forcibly cleared") \ | 1368 "Print when an exception is forcibly cleared") \ |
1357 \ | 1369 \ |
1358 product(bool, TraceClassResolution, false, \ | 1370 product(bool, TraceClassResolution, false, \ |
1359 "Trace all constant pool resolutions (for debugging)") \ | 1371 "Trace all constant pool resolutions (for debugging)") \ |
1360 \ | 1372 \ |
1361 product(bool, TraceBiasedLocking, false, \ | 1373 product(bool, TraceBiasedLocking, false, \ |
1365 "Trace monitor inflation in JVM") \ | 1377 "Trace monitor inflation in JVM") \ |
1366 \ | 1378 \ |
1367 /* gc */ \ | 1379 /* gc */ \ |
1368 \ | 1380 \ |
1369 product(bool, UseSerialGC, false, \ | 1381 product(bool, UseSerialGC, false, \ |
1370 "Use the serial garbage collector") \ | 1382 "Use the Serial garbage collector") \ |
1371 \ | 1383 \ |
1372 product(bool, UseG1GC, false, \ | 1384 product(bool, UseG1GC, false, \ |
1373 "Use the Garbage-First garbage collector") \ | 1385 "Use the Garbage-First garbage collector") \ |
1374 \ | 1386 \ |
1375 product(bool, UseParallelGC, false, \ | 1387 product(bool, UseParallelGC, false, \ |
1384 \ | 1396 \ |
1385 product(uintx, HeapFirstMaximumCompactionCount, 3, \ | 1397 product(uintx, HeapFirstMaximumCompactionCount, 3, \ |
1386 "The collection count for the first maximum compaction") \ | 1398 "The collection count for the first maximum compaction") \ |
1387 \ | 1399 \ |
1388 product(bool, UseMaximumCompactionOnSystemGC, true, \ | 1400 product(bool, UseMaximumCompactionOnSystemGC, true, \ |
1389 "In the Parallel Old garbage collector maximum compaction for " \ | 1401 "Use maximum compaction in the Parallel Old garbage collector " \ |
1390 "a system GC") \ | 1402 "for a system GC") \ |
1391 \ | 1403 \ |
1392 product(uintx, ParallelOldDeadWoodLimiterMean, 50, \ | 1404 product(uintx, ParallelOldDeadWoodLimiterMean, 50, \ |
1393 "The mean used by the par compact dead wood" \ | 1405 "The mean used by the parallel compact dead wood " \ |
1394 "limiter (a number between 0-100).") \ | 1406 "limiter (a number between 0-100)") \ |
1395 \ | 1407 \ |
1396 product(uintx, ParallelOldDeadWoodLimiterStdDev, 80, \ | 1408 product(uintx, ParallelOldDeadWoodLimiterStdDev, 80, \ |
1397 "The standard deviation used by the par compact dead wood" \ | 1409 "The standard deviation used by the parallel compact dead wood " \ |
1398 "limiter (a number between 0-100).") \ | 1410 "limiter (a number between 0-100)") \ |
1399 \ | 1411 \ |
1400 product(uintx, ParallelGCThreads, 0, \ | 1412 product(uintx, ParallelGCThreads, 0, \ |
1401 "Number of parallel threads parallel gc will use") \ | 1413 "Number of parallel threads parallel gc will use") \ |
1402 \ | 1414 \ |
1403 product(bool, UseDynamicNumberOfGCThreads, false, \ | 1415 product(bool, UseDynamicNumberOfGCThreads, false, \ |
1404 "Dynamically choose the number of parallel threads " \ | 1416 "Dynamically choose the number of parallel threads " \ |
1405 "parallel gc will use") \ | 1417 "parallel gc will use") \ |
1406 \ | 1418 \ |
1407 diagnostic(bool, ForceDynamicNumberOfGCThreads, false, \ | 1419 diagnostic(bool, ForceDynamicNumberOfGCThreads, false, \ |
1408 "Force dynamic selection of the number of" \ | 1420 "Force dynamic selection of the number of " \ |
1409 "parallel threads parallel gc will use to aid debugging") \ | 1421 "parallel threads parallel gc will use to aid debugging") \ |
1410 \ | 1422 \ |
1411 product(uintx, HeapSizePerGCThread, ScaleForWordSize(64*M), \ | 1423 product(uintx, HeapSizePerGCThread, ScaleForWordSize(64*M), \ |
1412 "Size of heap (bytes) per GC thread used in calculating the " \ | 1424 "Size of heap (bytes) per GC thread used in calculating the " \ |
1413 "number of GC threads") \ | 1425 "number of GC threads") \ |
1414 \ | 1426 \ |
1415 product(bool, TraceDynamicGCThreads, false, \ | 1427 product(bool, TraceDynamicGCThreads, false, \ |
1416 "Trace the dynamic GC thread usage") \ | 1428 "Trace the dynamic GC thread usage") \ |
1417 \ | 1429 \ |
1418 develop(bool, ParallelOldGCSplitALot, false, \ | 1430 develop(bool, ParallelOldGCSplitALot, false, \ |
1419 "Provoke splitting (copying data from a young gen space to" \ | 1431 "Provoke splitting (copying data from a young gen space to " \ |
1420 "multiple destination spaces)") \ | 1432 "multiple destination spaces)") \ |
1421 \ | 1433 \ |
1422 develop(uintx, ParallelOldGCSplitInterval, 3, \ | 1434 develop(uintx, ParallelOldGCSplitInterval, 3, \ |
1423 "How often to provoke splitting a young gen space") \ | 1435 "How often to provoke splitting a young gen space") \ |
1424 \ | 1436 \ |
1425 product(uintx, ConcGCThreads, 0, \ | 1437 product(uintx, ConcGCThreads, 0, \ |
1426 "Number of threads concurrent gc will use") \ | 1438 "Number of threads concurrent gc will use") \ |
1427 \ | 1439 \ |
1428 product(uintx, YoungPLABSize, 4096, \ | 1440 product(uintx, YoungPLABSize, 4096, \ |
1429 "Size of young gen promotion labs (in HeapWords)") \ | 1441 "Size of young gen promotion LAB's (in HeapWords)") \ |
1430 \ | 1442 \ |
1431 product(uintx, OldPLABSize, 1024, \ | 1443 product(uintx, OldPLABSize, 1024, \ |
1432 "Size of old gen promotion labs (in HeapWords)") \ | 1444 "Size of old gen promotion LAB's (in HeapWords)") \ |
1433 \ | 1445 \ |
1434 product(uintx, GCTaskTimeStampEntries, 200, \ | 1446 product(uintx, GCTaskTimeStampEntries, 200, \ |
1435 "Number of time stamp entries per gc worker thread") \ | 1447 "Number of time stamp entries per gc worker thread") \ |
1436 \ | 1448 \ |
1437 product(bool, AlwaysTenure, false, \ | 1449 product(bool, AlwaysTenure, false, \ |
1438 "Always tenure objects in eden. (ParallelGC only)") \ | 1450 "Always tenure objects in eden (ParallelGC only)") \ |
1439 \ | 1451 \ |
1440 product(bool, NeverTenure, false, \ | 1452 product(bool, NeverTenure, false, \ |
1441 "Never tenure objects in eden, May tenure on overflow " \ | 1453 "Never tenure objects in eden, may tenure on overflow " \ |
1442 "(ParallelGC only)") \ | 1454 "(ParallelGC only)") \ |
1443 \ | 1455 \ |
1444 product(bool, ScavengeBeforeFullGC, true, \ | 1456 product(bool, ScavengeBeforeFullGC, true, \ |
1445 "Scavenge youngest generation before each full GC, " \ | 1457 "Scavenge youngest generation before each full GC, " \ |
1446 "used with UseParallelGC") \ | 1458 "used with UseParallelGC") \ |
1447 \ | 1459 \ |
1448 develop(bool, ScavengeWithObjectsInToSpace, false, \ | 1460 develop(bool, ScavengeWithObjectsInToSpace, false, \ |
1449 "Allow scavenges to occur when to_space contains objects.") \ | 1461 "Allow scavenges to occur when to-space contains objects") \ |
1450 \ | 1462 \ |
1451 product(bool, UseConcMarkSweepGC, false, \ | 1463 product(bool, UseConcMarkSweepGC, false, \ |
1452 "Use Concurrent Mark-Sweep GC in the old generation") \ | 1464 "Use Concurrent Mark-Sweep GC in the old generation") \ |
1453 \ | 1465 \ |
1454 product(bool, ExplicitGCInvokesConcurrent, false, \ | 1466 product(bool, ExplicitGCInvokesConcurrent, false, \ |
1455 "A System.gc() request invokes a concurrent collection;" \ | 1467 "A System.gc() request invokes a concurrent collection; " \ |
1456 " (effective only when UseConcMarkSweepGC)") \ | 1468 "(effective only when UseConcMarkSweepGC)") \ |
1457 \ | 1469 \ |
1458 product(bool, ExplicitGCInvokesConcurrentAndUnloadsClasses, false, \ | 1470 product(bool, ExplicitGCInvokesConcurrentAndUnloadsClasses, false, \ |
1459 "A System.gc() request invokes a concurrent collection and " \ | 1471 "A System.gc() request invokes a concurrent collection and " \ |
1460 "also unloads classes during such a concurrent gc cycle " \ | 1472 "also unloads classes during such a concurrent gc cycle " \ |
1461 "(effective only when UseConcMarkSweepGC)") \ | 1473 "(effective only when UseConcMarkSweepGC)") \ |
1462 \ | 1474 \ |
1463 product(bool, GCLockerInvokesConcurrent, false, \ | 1475 product(bool, GCLockerInvokesConcurrent, false, \ |
1464 "The exit of a JNI CS necessitating a scavenge also" \ | 1476 "The exit of a JNI critical section necessitating a scavenge, " \ |
1465 " kicks off a bkgrd concurrent collection") \ | 1477 "also kicks off a background concurrent collection") \ |
1466 \ | 1478 \ |
1467 product(uintx, GCLockerEdenExpansionPercent, 5, \ | 1479 product(uintx, GCLockerEdenExpansionPercent, 5, \ |
1468 "How much the GC can expand the eden by while the GC locker " \ | 1480 "How much the GC can expand the eden by while the GC locker " \ |
1469 "is active (as a percentage)") \ | 1481 "is active (as a percentage)") \ |
1470 \ | 1482 \ |
1471 diagnostic(intx, GCLockerRetryAllocationCount, 2, \ | 1483 diagnostic(intx, GCLockerRetryAllocationCount, 2, \ |
1472 "Number of times to retry allocations when" \ | 1484 "Number of times to retry allocations when " \ |
1473 " blocked by the GC locker") \ | 1485 "blocked by the GC locker") \ |
1474 \ | 1486 \ |
1475 develop(bool, UseCMSAdaptiveFreeLists, true, \ | 1487 develop(bool, UseCMSAdaptiveFreeLists, true, \ |
1476 "Use Adaptive Free Lists in the CMS generation") \ | 1488 "Use adaptive free lists in the CMS generation") \ |
1477 \ | 1489 \ |
1478 develop(bool, UseAsyncConcMarkSweepGC, true, \ | 1490 develop(bool, UseAsyncConcMarkSweepGC, true, \ |
1479 "Use Asynchronous Concurrent Mark-Sweep GC in the old generation")\ | 1491 "Use Asynchronous Concurrent Mark-Sweep GC in the old generation")\ |
1480 \ | 1492 \ |
1481 develop(bool, RotateCMSCollectionTypes, false, \ | 1493 develop(bool, RotateCMSCollectionTypes, false, \ |
1486 \ | 1498 \ |
1487 product(bool, UseCMSCollectionPassing, true, \ | 1499 product(bool, UseCMSCollectionPassing, true, \ |
1488 "Use passing of collection from background to foreground") \ | 1500 "Use passing of collection from background to foreground") \ |
1489 \ | 1501 \ |
1490 product(bool, UseParNewGC, false, \ | 1502 product(bool, UseParNewGC, false, \ |
1491 "Use parallel threads in the new generation.") \ | 1503 "Use parallel threads in the new generation") \ |
1492 \ | 1504 \ |
1493 product(bool, ParallelGCVerbose, false, \ | 1505 product(bool, ParallelGCVerbose, false, \ |
1494 "Verbose output for parallel GC.") \ | 1506 "Verbose output for parallel gc") \ |
1495 \ | 1507 \ |
1496 product(uintx, ParallelGCBufferWastePct, 10, \ | 1508 product(uintx, ParallelGCBufferWastePct, 10, \ |
1497 "Wasted fraction of parallel allocation buffer.") \ | 1509 "Wasted fraction of parallel allocation buffer") \ |
1498 \ | 1510 \ |
1499 diagnostic(bool, ParallelGCRetainPLAB, false, \ | 1511 diagnostic(bool, ParallelGCRetainPLAB, false, \ |
1500 "Retain parallel allocation buffers across scavenges; " \ | 1512 "Retain parallel allocation buffers across scavenges; " \ |
1501 " -- disabled because this currently conflicts with " \ | 1513 "it is disabled because this currently conflicts with " \ |
1502 " parallel card scanning under certain conditions ") \ | 1514 "parallel card scanning under certain conditions.") \ |
1503 \ | 1515 \ |
1504 product(uintx, TargetPLABWastePct, 10, \ | 1516 product(uintx, TargetPLABWastePct, 10, \ |
1505 "Target wasted space in last buffer as percent of overall " \ | 1517 "Target wasted space in last buffer as percent of overall " \ |
1506 "allocation") \ | 1518 "allocation") \ |
1507 \ | 1519 \ |
1508 product(uintx, PLABWeight, 75, \ | 1520 product(uintx, PLABWeight, 75, \ |
1509 "Percentage (0-100) used to weight the current sample when" \ | 1521 "Percentage (0-100) used to weigh the current sample when " \ |
1510 "computing exponentially decaying average for ResizePLAB.") \ | 1522 "computing exponentially decaying average for ResizePLAB") \ |
1511 \ | 1523 \ |
1512 product(bool, ResizePLAB, true, \ | 1524 product(bool, ResizePLAB, true, \ |
1513 "Dynamically resize (survivor space) promotion labs") \ | 1525 "Dynamically resize (survivor space) promotion LAB's") \ |
1514 \ | 1526 \ |
1515 product(bool, PrintPLAB, false, \ | 1527 product(bool, PrintPLAB, false, \ |
1516 "Print (survivor space) promotion labs sizing decisions") \ | 1528 "Print (survivor space) promotion LAB's sizing decisions") \ |
1517 \ | 1529 \ |
1518 product(intx, ParGCArrayScanChunk, 50, \ | 1530 product(intx, ParGCArrayScanChunk, 50, \ |
1519 "Scan a subset and push remainder, if array is bigger than this") \ | 1531 "Scan a subset of object array and push remainder, if array is " \ |
1532 "bigger than this") \ | |
1520 \ | 1533 \ |
1521 product(bool, ParGCUseLocalOverflow, false, \ | 1534 product(bool, ParGCUseLocalOverflow, false, \ |
1522 "Instead of a global overflow list, use local overflow stacks") \ | 1535 "Instead of a global overflow list, use local overflow stacks") \ |
1523 \ | 1536 \ |
1524 product(bool, ParGCTrimOverflow, true, \ | 1537 product(bool, ParGCTrimOverflow, true, \ |
1525 "Eagerly trim the local overflow lists (when ParGCUseLocalOverflow") \ | 1538 "Eagerly trim the local overflow lists " \ |
1539 "(when ParGCUseLocalOverflow)") \ | |
1526 \ | 1540 \ |
1527 notproduct(bool, ParGCWorkQueueOverflowALot, false, \ | 1541 notproduct(bool, ParGCWorkQueueOverflowALot, false, \ |
1528 "Whether we should simulate work queue overflow in ParNew") \ | 1542 "Simulate work queue overflow in ParNew") \ |
1529 \ | 1543 \ |
1530 notproduct(uintx, ParGCWorkQueueOverflowInterval, 1000, \ | 1544 notproduct(uintx, ParGCWorkQueueOverflowInterval, 1000, \ |
1531 "An `interval' counter that determines how frequently " \ | 1545 "An `interval' counter that determines how frequently " \ |
1532 "we simulate overflow; a smaller number increases frequency") \ | 1546 "we simulate overflow; a smaller number increases frequency") \ |
1533 \ | 1547 \ |
1541 diagnostic(intx, ParGCCardsPerStrideChunk, 256, \ | 1555 diagnostic(intx, ParGCCardsPerStrideChunk, 256, \ |
1542 "The number of cards in each chunk of the parallel chunks used " \ | 1556 "The number of cards in each chunk of the parallel chunks used " \ |
1543 "during card table scanning") \ | 1557 "during card table scanning") \ |
1544 \ | 1558 \ |
1545 product(uintx, CMSParPromoteBlocksToClaim, 16, \ | 1559 product(uintx, CMSParPromoteBlocksToClaim, 16, \ |
1546 "Number of blocks to attempt to claim when refilling CMS LAB for "\ | 1560 "Number of blocks to attempt to claim when refilling CMS LAB's " \ |
1547 "parallel GC.") \ | 1561 "for parallel GC") \ |
1548 \ | 1562 \ |
1549 product(uintx, OldPLABWeight, 50, \ | 1563 product(uintx, OldPLABWeight, 50, \ |
1550 "Percentage (0-100) used to weight the current sample when" \ | 1564 "Percentage (0-100) used to weight the current sample when " \ |
1551 "computing exponentially decaying average for resizing CMSParPromoteBlocksToClaim.") \ | 1565 "computing exponentially decaying average for resizing " \ |
1566 "CMSParPromoteBlocksToClaim") \ | |
1552 \ | 1567 \ |
1553 product(bool, ResizeOldPLAB, true, \ | 1568 product(bool, ResizeOldPLAB, true, \ |
1554 "Dynamically resize (old gen) promotion labs") \ | 1569 "Dynamically resize (old gen) promotion LAB's") \ |
1555 \ | 1570 \ |
1556 product(bool, PrintOldPLAB, false, \ | 1571 product(bool, PrintOldPLAB, false, \ |
1557 "Print (old gen) promotion labs sizing decisions") \ | 1572 "Print (old gen) promotion LAB's sizing decisions") \ |
1558 \ | 1573 \ |
1559 product(uintx, CMSOldPLABMin, 16, \ | 1574 product(uintx, CMSOldPLABMin, 16, \ |
1560 "Min size of CMS gen promotion lab caches per worker per blksize")\ | 1575 "Minimum size of CMS gen promotion LAB caches per worker " \ |
1576 "per block size") \ | |
1561 \ | 1577 \ |
1562 product(uintx, CMSOldPLABMax, 1024, \ | 1578 product(uintx, CMSOldPLABMax, 1024, \ |
1563 "Max size of CMS gen promotion lab caches per worker per blksize")\ | 1579 "Maximum size of CMS gen promotion LAB caches per worker " \ |
1580 "per block size") \ | |
1564 \ | 1581 \ |
1565 product(uintx, CMSOldPLABNumRefills, 4, \ | 1582 product(uintx, CMSOldPLABNumRefills, 4, \ |
1566 "Nominal number of refills of CMS gen promotion lab cache" \ | 1583 "Nominal number of refills of CMS gen promotion LAB cache " \ |
1567 " per worker per block size") \ | 1584 "per worker per block size") \ |
1568 \ | 1585 \ |
1569 product(bool, CMSOldPLABResizeQuicker, false, \ | 1586 product(bool, CMSOldPLABResizeQuicker, false, \ |
1570 "Whether to react on-the-fly during a scavenge to a sudden" \ | 1587 "React on-the-fly during a scavenge to a sudden " \ |
1571 " change in block demand rate") \ | 1588 "change in block demand rate") \ |
1572 \ | 1589 \ |
1573 product(uintx, CMSOldPLABToleranceFactor, 4, \ | 1590 product(uintx, CMSOldPLABToleranceFactor, 4, \ |
1574 "The tolerance of the phase-change detector for on-the-fly" \ | 1591 "The tolerance of the phase-change detector for on-the-fly " \ |
1575 " PLAB resizing during a scavenge") \ | 1592 "PLAB resizing during a scavenge") \ |
1576 \ | 1593 \ |
1577 product(uintx, CMSOldPLABReactivityFactor, 2, \ | 1594 product(uintx, CMSOldPLABReactivityFactor, 2, \ |
1578 "The gain in the feedback loop for on-the-fly PLAB resizing" \ | 1595 "The gain in the feedback loop for on-the-fly PLAB resizing " \ |
1579 " during a scavenge") \ | 1596 "during a scavenge") \ |
1580 \ | 1597 \ |
1581 product(bool, AlwaysPreTouch, false, \ | 1598 product(bool, AlwaysPreTouch, false, \ |
1582 "It forces all freshly committed pages to be pre-touched.") \ | 1599 "Force all freshly committed pages to be pre-touched") \ |
1583 \ | 1600 \ |
1584 product_pd(uintx, CMSYoungGenPerWorker, \ | 1601 product_pd(uintx, CMSYoungGenPerWorker, \ |
1585 "The maximum size of young gen chosen by default per GC worker " \ | 1602 "The maximum size of young gen chosen by default per GC worker " \ |
1586 "thread available") \ | 1603 "thread available") \ |
1587 \ | 1604 \ |
1588 product(bool, CMSIncrementalMode, false, \ | 1605 product(bool, CMSIncrementalMode, false, \ |
1589 "Whether CMS GC should operate in \"incremental\" mode") \ | 1606 "Whether CMS GC should operate in \"incremental\" mode") \ |
1590 \ | 1607 \ |
1591 product(uintx, CMSIncrementalDutyCycle, 10, \ | 1608 product(uintx, CMSIncrementalDutyCycle, 10, \ |
1592 "CMS incremental mode duty cycle (a percentage, 0-100). If" \ | 1609 "Percentage (0-100) of CMS incremental mode duty cycle. If " \ |
1593 "CMSIncrementalPacing is enabled, then this is just the initial" \ | 1610 "CMSIncrementalPacing is enabled, then this is just the initial " \ |
1594 "value") \ | 1611 "value.") \ |
1595 \ | 1612 \ |
1596 product(bool, CMSIncrementalPacing, true, \ | 1613 product(bool, CMSIncrementalPacing, true, \ |
1597 "Whether the CMS incremental mode duty cycle should be " \ | 1614 "Whether the CMS incremental mode duty cycle should be " \ |
1598 "automatically adjusted") \ | 1615 "automatically adjusted") \ |
1599 \ | 1616 \ |
1600 product(uintx, CMSIncrementalDutyCycleMin, 0, \ | 1617 product(uintx, CMSIncrementalDutyCycleMin, 0, \ |
1601 "Lower bound on the duty cycle when CMSIncrementalPacing is " \ | 1618 "Minimum percentage (0-100) of the CMS incremental duty cycle " \ |
1602 "enabled (a percentage, 0-100)") \ | 1619 "used when CMSIncrementalPacing is enabled") \ |
1603 \ | 1620 \ |
1604 product(uintx, CMSIncrementalSafetyFactor, 10, \ | 1621 product(uintx, CMSIncrementalSafetyFactor, 10, \ |
1605 "Percentage (0-100) used to add conservatism when computing the " \ | 1622 "Percentage (0-100) used to add conservatism when computing the " \ |
1606 "duty cycle") \ | 1623 "duty cycle") \ |
1607 \ | 1624 \ |
1608 product(uintx, CMSIncrementalOffset, 0, \ | 1625 product(uintx, CMSIncrementalOffset, 0, \ |
1609 "Percentage (0-100) by which the CMS incremental mode duty cycle" \ | 1626 "Percentage (0-100) by which the CMS incremental mode duty cycle "\ |
1610 " is shifted to the right within the period between young GCs") \ | 1627 "is shifted to the right within the period between young GCs") \ |
1611 \ | 1628 \ |
1612 product(uintx, CMSExpAvgFactor, 50, \ | 1629 product(uintx, CMSExpAvgFactor, 50, \ |
1613 "Percentage (0-100) used to weight the current sample when" \ | 1630 "Percentage (0-100) used to weigh the current sample when " \ |
1614 "computing exponential averages for CMS statistics.") \ | 1631 "computing exponential averages for CMS statistics") \ |
1615 \ | 1632 \ |
1616 product(uintx, CMS_FLSWeight, 75, \ | 1633 product(uintx, CMS_FLSWeight, 75, \ |
1617 "Percentage (0-100) used to weight the current sample when" \ | 1634 "Percentage (0-100) used to weigh the current sample when " \ |
1618 "computing exponentially decating averages for CMS FLS statistics.") \ | 1635 "computing exponentially decaying averages for CMS FLS " \ |
1636 "statistics") \ | |
1619 \ | 1637 \ |
1620 product(uintx, CMS_FLSPadding, 1, \ | 1638 product(uintx, CMS_FLSPadding, 1, \ |
1621 "The multiple of deviation from mean to use for buffering" \ | 1639 "The multiple of deviation from mean to use for buffering " \ |
1622 "against volatility in free list demand.") \ | 1640 "against volatility in free list demand") \ |
1623 \ | 1641 \ |
1624 product(uintx, FLSCoalescePolicy, 2, \ | 1642 product(uintx, FLSCoalescePolicy, 2, \ |
1625 "CMS: Aggression level for coalescing, increasing from 0 to 4") \ | 1643 "CMS: aggressiveness level for coalescing, increasing " \ |
1644 "from 0 to 4") \ | |
1626 \ | 1645 \ |
1627 product(bool, FLSAlwaysCoalesceLarge, false, \ | 1646 product(bool, FLSAlwaysCoalesceLarge, false, \ |
1628 "CMS: Larger free blocks are always available for coalescing") \ | 1647 "CMS: larger free blocks are always available for coalescing") \ |
1629 \ | 1648 \ |
1630 product(double, FLSLargestBlockCoalesceProximity, 0.99, \ | 1649 product(double, FLSLargestBlockCoalesceProximity, 0.99, \ |
1631 "CMS: the smaller the percentage the greater the coalition force")\ | 1650 "CMS: the smaller the percentage the greater the coalescing " \ |
1651 "force") \ | |
1632 \ | 1652 \ |
1633 product(double, CMSSmallCoalSurplusPercent, 1.05, \ | 1653 product(double, CMSSmallCoalSurplusPercent, 1.05, \ |
1634 "CMS: the factor by which to inflate estimated demand of small" \ | 1654 "CMS: the factor by which to inflate estimated demand of small " \ |
1635 " block sizes to prevent coalescing with an adjoining block") \ | 1655 "block sizes to prevent coalescing with an adjoining block") \ |
1636 \ | 1656 \ |
1637 product(double, CMSLargeCoalSurplusPercent, 0.95, \ | 1657 product(double, CMSLargeCoalSurplusPercent, 0.95, \ |
1638 "CMS: the factor by which to inflate estimated demand of large" \ | 1658 "CMS: the factor by which to inflate estimated demand of large " \ |
1639 " block sizes to prevent coalescing with an adjoining block") \ | 1659 "block sizes to prevent coalescing with an adjoining block") \ |
1640 \ | 1660 \ |
1641 product(double, CMSSmallSplitSurplusPercent, 1.10, \ | 1661 product(double, CMSSmallSplitSurplusPercent, 1.10, \ |
1642 "CMS: the factor by which to inflate estimated demand of small" \ | 1662 "CMS: the factor by which to inflate estimated demand of small " \ |
1643 " block sizes to prevent splitting to supply demand for smaller" \ | 1663 "block sizes to prevent splitting to supply demand for smaller " \ |
1644 " blocks") \ | 1664 "blocks") \ |
1645 \ | 1665 \ |
1646 product(double, CMSLargeSplitSurplusPercent, 1.00, \ | 1666 product(double, CMSLargeSplitSurplusPercent, 1.00, \ |
1647 "CMS: the factor by which to inflate estimated demand of large" \ | 1667 "CMS: the factor by which to inflate estimated demand of large " \ |
1648 " block sizes to prevent splitting to supply demand for smaller" \ | 1668 "block sizes to prevent splitting to supply demand for smaller " \ |
1649 " blocks") \ | 1669 "blocks") \ |
1650 \ | 1670 \ |
1651 product(bool, CMSExtrapolateSweep, false, \ | 1671 product(bool, CMSExtrapolateSweep, false, \ |
1652 "CMS: cushion for block demand during sweep") \ | 1672 "CMS: cushion for block demand during sweep") \ |
1653 \ | 1673 \ |
1654 product(uintx, CMS_SweepWeight, 75, \ | 1674 product(uintx, CMS_SweepWeight, 75, \ |
1656 "computing exponentially decaying average for inter-sweep " \ | 1676 "computing exponentially decaying average for inter-sweep " \ |
1657 "duration") \ | 1677 "duration") \ |
1658 \ | 1678 \ |
1659 product(uintx, CMS_SweepPadding, 1, \ | 1679 product(uintx, CMS_SweepPadding, 1, \ |
1660 "The multiple of deviation from mean to use for buffering " \ | 1680 "The multiple of deviation from mean to use for buffering " \ |
1661 "against volatility in inter-sweep duration.") \ | 1681 "against volatility in inter-sweep duration") \ |
1662 \ | 1682 \ |
1663 product(uintx, CMS_SweepTimerThresholdMillis, 10, \ | 1683 product(uintx, CMS_SweepTimerThresholdMillis, 10, \ |
1664 "Skip block flux-rate sampling for an epoch unless inter-sweep " \ | 1684 "Skip block flux-rate sampling for an epoch unless inter-sweep " \ |
1665 "duration exceeds this threhold in milliseconds") \ | 1685 "duration exceeds this threshold in milliseconds") \ |
1666 \ | 1686 \ |
1667 develop(bool, CMSTraceIncrementalMode, false, \ | 1687 develop(bool, CMSTraceIncrementalMode, false, \ |
1668 "Trace CMS incremental mode") \ | 1688 "Trace CMS incremental mode") \ |
1669 \ | 1689 \ |
1670 develop(bool, CMSTraceIncrementalPacing, false, \ | 1690 develop(bool, CMSTraceIncrementalPacing, false, \ |
1675 \ | 1695 \ |
1676 product(bool, CMSClassUnloadingEnabled, true, \ | 1696 product(bool, CMSClassUnloadingEnabled, true, \ |
1677 "Whether class unloading enabled when using CMS GC") \ | 1697 "Whether class unloading enabled when using CMS GC") \ |
1678 \ | 1698 \ |
1679 product(uintx, CMSClassUnloadingMaxInterval, 0, \ | 1699 product(uintx, CMSClassUnloadingMaxInterval, 0, \ |
1680 "When CMS class unloading is enabled, the maximum CMS cycle count"\ | 1700 "When CMS class unloading is enabled, the maximum CMS cycle " \ |
1681 " for which classes may not be unloaded") \ | 1701 "count for which classes may not be unloaded") \ |
1682 \ | 1702 \ |
1683 product(bool, CMSCompactWhenClearAllSoftRefs, true, \ | 1703 product(bool, CMSCompactWhenClearAllSoftRefs, true, \ |
1684 "Compact when asked to collect CMS gen with clear_all_soft_refs") \ | 1704 "Compact when asked to collect CMS gen with " \ |
1705 "clear_all_soft_refs()") \ | |
1685 \ | 1706 \ |
1686 product(bool, UseCMSCompactAtFullCollection, true, \ | 1707 product(bool, UseCMSCompactAtFullCollection, true, \ |
1687 "Use mark sweep compact at full collections") \ | 1708 "Use Mark-Sweep-Compact algorithm at full collections") \ |
1688 \ | 1709 \ |
1689 product(uintx, CMSFullGCsBeforeCompaction, 0, \ | 1710 product(uintx, CMSFullGCsBeforeCompaction, 0, \ |
1690 "Number of CMS full collection done before compaction if > 0") \ | 1711 "Number of CMS full collection done before compaction if > 0") \ |
1691 \ | 1712 \ |
1692 develop(intx, CMSDictionaryChoice, 0, \ | 1713 develop(intx, CMSDictionaryChoice, 0, \ |
1704 \ | 1725 \ |
1705 product(bool, CMSLoopWarn, false, \ | 1726 product(bool, CMSLoopWarn, false, \ |
1706 "Warn in case of excessive CMS looping") \ | 1727 "Warn in case of excessive CMS looping") \ |
1707 \ | 1728 \ |
1708 develop(bool, CMSOverflowEarlyRestoration, false, \ | 1729 develop(bool, CMSOverflowEarlyRestoration, false, \ |
1709 "Whether preserved marks should be restored early") \ | 1730 "Restore preserved marks early") \ |
1710 \ | 1731 \ |
1711 product(uintx, MarkStackSize, NOT_LP64(32*K) LP64_ONLY(4*M), \ | 1732 product(uintx, MarkStackSize, NOT_LP64(32*K) LP64_ONLY(4*M), \ |
1712 "Size of marking stack") \ | 1733 "Size of marking stack") \ |
1713 \ | 1734 \ |
1714 product(uintx, MarkStackSizeMax, NOT_LP64(4*M) LP64_ONLY(512*M), \ | 1735 product(uintx, MarkStackSizeMax, NOT_LP64(4*M) LP64_ONLY(512*M), \ |
1715 "Max size of marking stack") \ | 1736 "Maximum size of marking stack") \ |
1716 \ | 1737 \ |
1717 notproduct(bool, CMSMarkStackOverflowALot, false, \ | 1738 notproduct(bool, CMSMarkStackOverflowALot, false, \ |
1718 "Whether we should simulate frequent marking stack / work queue" \ | 1739 "Simulate frequent marking stack / work queue overflow") \ |
1719 " overflow") \ | |
1720 \ | 1740 \ |
1721 notproduct(uintx, CMSMarkStackOverflowInterval, 1000, \ | 1741 notproduct(uintx, CMSMarkStackOverflowInterval, 1000, \ |
1722 "An `interval' counter that determines how frequently" \ | 1742 "An \"interval\" counter that determines how frequently " \ |
1723 " we simulate overflow; a smaller number increases frequency") \ | 1743 "to simulate overflow; a smaller number increases frequency") \ |
1724 \ | 1744 \ |
1725 product(uintx, CMSMaxAbortablePrecleanLoops, 0, \ | 1745 product(uintx, CMSMaxAbortablePrecleanLoops, 0, \ |
1726 "(Temporary, subject to experimentation)" \ | 1746 "(Temporary, subject to experimentation) " \ |
1727 "Maximum number of abortable preclean iterations, if > 0") \ | 1747 "Maximum number of abortable preclean iterations, if > 0") \ |
1728 \ | 1748 \ |
1729 product(intx, CMSMaxAbortablePrecleanTime, 5000, \ | 1749 product(intx, CMSMaxAbortablePrecleanTime, 5000, \ |
1730 "(Temporary, subject to experimentation)" \ | 1750 "(Temporary, subject to experimentation) " \ |
1731 "Maximum time in abortable preclean in ms") \ | 1751 "Maximum time in abortable preclean (in milliseconds)") \ |
1732 \ | 1752 \ |
1733 product(uintx, CMSAbortablePrecleanMinWorkPerIteration, 100, \ | 1753 product(uintx, CMSAbortablePrecleanMinWorkPerIteration, 100, \ |
1734 "(Temporary, subject to experimentation)" \ | 1754 "(Temporary, subject to experimentation) " \ |
1735 "Nominal minimum work per abortable preclean iteration") \ | 1755 "Nominal minimum work per abortable preclean iteration") \ |
1736 \ | 1756 \ |
1737 manageable(intx, CMSAbortablePrecleanWaitMillis, 100, \ | 1757 manageable(intx, CMSAbortablePrecleanWaitMillis, 100, \ |
1738 "(Temporary, subject to experimentation)" \ | 1758 "(Temporary, subject to experimentation) " \ |
1739 " Time that we sleep between iterations when not given" \ | 1759 "Time that we sleep between iterations when not given " \ |
1740 " enough work per iteration") \ | 1760 "enough work per iteration") \ |
1741 \ | 1761 \ |
1742 product(uintx, CMSRescanMultiple, 32, \ | 1762 product(uintx, CMSRescanMultiple, 32, \ |
1743 "Size (in cards) of CMS parallel rescan task") \ | 1763 "Size (in cards) of CMS parallel rescan task") \ |
1744 \ | 1764 \ |
1745 product(uintx, CMSConcMarkMultiple, 32, \ | 1765 product(uintx, CMSConcMarkMultiple, 32, \ |
1753 \ | 1773 \ |
1754 product(bool, CMSParallelRemarkEnabled, true, \ | 1774 product(bool, CMSParallelRemarkEnabled, true, \ |
1755 "Whether parallel remark enabled (only if ParNewGC)") \ | 1775 "Whether parallel remark enabled (only if ParNewGC)") \ |
1756 \ | 1776 \ |
1757 product(bool, CMSParallelSurvivorRemarkEnabled, true, \ | 1777 product(bool, CMSParallelSurvivorRemarkEnabled, true, \ |
1758 "Whether parallel remark of survivor space" \ | 1778 "Whether parallel remark of survivor space " \ |
1759 " enabled (effective only if CMSParallelRemarkEnabled)") \ | 1779 "enabled (effective only if CMSParallelRemarkEnabled)") \ |
1760 \ | 1780 \ |
1761 product(bool, CMSPLABRecordAlways, true, \ | 1781 product(bool, CMSPLABRecordAlways, true, \ |
1762 "Whether to always record survivor space PLAB bdries" \ | 1782 "Always record survivor space PLAB boundaries (effective only " \ |
1763 " (effective only if CMSParallelSurvivorRemarkEnabled)") \ | 1783 "if CMSParallelSurvivorRemarkEnabled)") \ |
1764 \ | 1784 \ |
1765 product(bool, CMSEdenChunksRecordAlways, true, \ | 1785 product(bool, CMSEdenChunksRecordAlways, true, \ |
1766 "Whether to always record eden chunks used for " \ | 1786 "Always record eden chunks used for the parallel initial mark " \ |
1767 "the parallel initial mark or remark of eden" ) \ | 1787 "or remark of eden") \ |
1768 \ | 1788 \ |
1769 product(bool, CMSPrintEdenSurvivorChunks, false, \ | 1789 product(bool, CMSPrintEdenSurvivorChunks, false, \ |
1770 "Print the eden and the survivor chunks used for the parallel " \ | 1790 "Print the eden and the survivor chunks used for the parallel " \ |
1771 "initial mark or remark of the eden/survivor spaces") \ | 1791 "initial mark or remark of the eden/survivor spaces") \ |
1772 \ | 1792 \ |
1773 product(bool, CMSConcurrentMTEnabled, true, \ | 1793 product(bool, CMSConcurrentMTEnabled, true, \ |
1774 "Whether multi-threaded concurrent work enabled (if ParNewGC)") \ | 1794 "Whether multi-threaded concurrent work enabled " \ |
1795 "(effective only if ParNewGC)") \ | |
1775 \ | 1796 \ |
1776 product(bool, CMSPrecleaningEnabled, true, \ | 1797 product(bool, CMSPrecleaningEnabled, true, \ |
1777 "Whether concurrent precleaning enabled") \ | 1798 "Whether concurrent precleaning enabled") \ |
1778 \ | 1799 \ |
1779 product(uintx, CMSPrecleanIter, 3, \ | 1800 product(uintx, CMSPrecleanIter, 3, \ |
1780 "Maximum number of precleaning iteration passes") \ | 1801 "Maximum number of precleaning iteration passes") \ |
1781 \ | 1802 \ |
1782 product(uintx, CMSPrecleanNumerator, 2, \ | 1803 product(uintx, CMSPrecleanNumerator, 2, \ |
1783 "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \ | 1804 "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence " \ |
1784 " ratio") \ | 1805 "ratio") \ |
1785 \ | 1806 \ |
1786 product(uintx, CMSPrecleanDenominator, 3, \ | 1807 product(uintx, CMSPrecleanDenominator, 3, \ |
1787 "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \ | 1808 "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence " \ |
1788 " ratio") \ | 1809 "ratio") \ |
1789 \ | 1810 \ |
1790 product(bool, CMSPrecleanRefLists1, true, \ | 1811 product(bool, CMSPrecleanRefLists1, true, \ |
1791 "Preclean ref lists during (initial) preclean phase") \ | 1812 "Preclean ref lists during (initial) preclean phase") \ |
1792 \ | 1813 \ |
1793 product(bool, CMSPrecleanRefLists2, false, \ | 1814 product(bool, CMSPrecleanRefLists2, false, \ |
1798 \ | 1819 \ |
1799 product(bool, CMSPrecleanSurvivors2, true, \ | 1820 product(bool, CMSPrecleanSurvivors2, true, \ |
1800 "Preclean survivors during abortable preclean phase") \ | 1821 "Preclean survivors during abortable preclean phase") \ |
1801 \ | 1822 \ |
1802 product(uintx, CMSPrecleanThreshold, 1000, \ | 1823 product(uintx, CMSPrecleanThreshold, 1000, \ |
1803 "Don't re-iterate if #dirty cards less than this") \ | 1824 "Do not iterate again if number of dirty cards is less than this")\ |
1804 \ | 1825 \ |
1805 product(bool, CMSCleanOnEnter, true, \ | 1826 product(bool, CMSCleanOnEnter, true, \ |
1806 "Clean-on-enter optimization for reducing number of dirty cards") \ | 1827 "Clean-on-enter optimization for reducing number of dirty cards") \ |
1807 \ | 1828 \ |
1808 product(uintx, CMSRemarkVerifyVariant, 1, \ | 1829 product(uintx, CMSRemarkVerifyVariant, 1, \ |
1809 "Choose variant (1,2) of verification following remark") \ | 1830 "Choose variant (1,2) of verification following remark") \ |
1810 \ | 1831 \ |
1811 product(uintx, CMSScheduleRemarkEdenSizeThreshold, 2*M, \ | 1832 product(uintx, CMSScheduleRemarkEdenSizeThreshold, 2*M, \ |
1812 "If Eden used is below this value, don't try to schedule remark") \ | 1833 "If Eden size is below this, do not try to schedule remark") \ |
1813 \ | 1834 \ |
1814 product(uintx, CMSScheduleRemarkEdenPenetration, 50, \ | 1835 product(uintx, CMSScheduleRemarkEdenPenetration, 50, \ |
1815 "The Eden occupancy % at which to try and schedule remark pause") \ | 1836 "The Eden occupancy percentage (0-100) at which " \ |
1837 "to try and schedule remark pause") \ | |
1816 \ | 1838 \ |
1817 product(uintx, CMSScheduleRemarkSamplingRatio, 5, \ | 1839 product(uintx, CMSScheduleRemarkSamplingRatio, 5, \ |
1818 "Start sampling Eden top at least before yg occupancy reaches" \ | 1840 "Start sampling eden top at least before young gen " \ |
1819 " 1/<ratio> of the size at which we plan to schedule remark") \ | 1841 "occupancy reaches 1/<ratio> of the size at which " \ |
1842 "we plan to schedule remark") \ | |
1820 \ | 1843 \ |
1821 product(uintx, CMSSamplingGrain, 16*K, \ | 1844 product(uintx, CMSSamplingGrain, 16*K, \ |
1822 "The minimum distance between eden samples for CMS (see above)") \ | 1845 "The minimum distance between eden samples for CMS (see above)") \ |
1823 \ | 1846 \ |
1824 product(bool, CMSScavengeBeforeRemark, false, \ | 1847 product(bool, CMSScavengeBeforeRemark, false, \ |
1836 develop(uintx, CMSCheckInterval, 1000, \ | 1859 develop(uintx, CMSCheckInterval, 1000, \ |
1837 "Interval in milliseconds that CMS thread checks if it " \ | 1860 "Interval in milliseconds that CMS thread checks if it " \ |
1838 "should start a collection cycle") \ | 1861 "should start a collection cycle") \ |
1839 \ | 1862 \ |
1840 product(bool, CMSYield, true, \ | 1863 product(bool, CMSYield, true, \ |
1841 "Yield between steps of concurrent mark & sweep") \ | 1864 "Yield between steps of CMS") \ |
1842 \ | 1865 \ |
1843 product(uintx, CMSBitMapYieldQuantum, 10*M, \ | 1866 product(uintx, CMSBitMapYieldQuantum, 10*M, \ |
1844 "Bitmap operations should process at most this many bits" \ | 1867 "Bitmap operations should process at most this many bits " \ |
1845 "between yields") \ | 1868 "between yields") \ |
1846 \ | 1869 \ |
1847 product(bool, CMSDumpAtPromotionFailure, false, \ | 1870 product(bool, CMSDumpAtPromotionFailure, false, \ |
1848 "Dump useful information about the state of the CMS old " \ | 1871 "Dump useful information about the state of the CMS old " \ |
1849 " generation upon a promotion failure.") \ | 1872 "generation upon a promotion failure") \ |
1850 \ | 1873 \ |
1851 product(bool, CMSPrintChunksInDump, false, \ | 1874 product(bool, CMSPrintChunksInDump, false, \ |
1852 "In a dump enabled by CMSDumpAtPromotionFailure, include " \ | 1875 "In a dump enabled by CMSDumpAtPromotionFailure, include " \ |
1853 " more detailed information about the free chunks.") \ | 1876 "more detailed information about the free chunks") \ |
1854 \ | 1877 \ |
1855 product(bool, CMSPrintObjectsInDump, false, \ | 1878 product(bool, CMSPrintObjectsInDump, false, \ |
1856 "In a dump enabled by CMSDumpAtPromotionFailure, include " \ | 1879 "In a dump enabled by CMSDumpAtPromotionFailure, include " \ |
1857 " more detailed information about the allocated objects.") \ | 1880 "more detailed information about the allocated objects") \ |
1858 \ | 1881 \ |
1859 diagnostic(bool, FLSVerifyAllHeapReferences, false, \ | 1882 diagnostic(bool, FLSVerifyAllHeapReferences, false, \ |
1860 "Verify that all refs across the FLS boundary " \ | 1883 "Verify that all references across the FLS boundary " \ |
1861 " are to valid objects") \ | 1884 "are to valid objects") \ |
1862 \ | 1885 \ |
1863 diagnostic(bool, FLSVerifyLists, false, \ | 1886 diagnostic(bool, FLSVerifyLists, false, \ |
1864 "Do lots of (expensive) FreeListSpace verification") \ | 1887 "Do lots of (expensive) FreeListSpace verification") \ |
1865 \ | 1888 \ |
1866 diagnostic(bool, FLSVerifyIndexTable, false, \ | 1889 diagnostic(bool, FLSVerifyIndexTable, false, \ |
1868 \ | 1891 \ |
1869 develop(bool, FLSVerifyDictionary, false, \ | 1892 develop(bool, FLSVerifyDictionary, false, \ |
1870 "Do lots of (expensive) FLS dictionary verification") \ | 1893 "Do lots of (expensive) FLS dictionary verification") \ |
1871 \ | 1894 \ |
1872 develop(bool, VerifyBlockOffsetArray, false, \ | 1895 develop(bool, VerifyBlockOffsetArray, false, \ |
1873 "Do (expensive!) block offset array verification") \ | 1896 "Do (expensive) block offset array verification") \ |
1874 \ | 1897 \ |
1875 diagnostic(bool, BlockOffsetArrayUseUnallocatedBlock, false, \ | 1898 diagnostic(bool, BlockOffsetArrayUseUnallocatedBlock, false, \ |
1876 "Maintain _unallocated_block in BlockOffsetArray" \ | 1899 "Maintain _unallocated_block in BlockOffsetArray " \ |
1877 " (currently applicable only to CMS collector)") \ | 1900 "(currently applicable only to CMS collector)") \ |
1878 \ | 1901 \ |
1879 develop(bool, TraceCMSState, false, \ | 1902 develop(bool, TraceCMSState, false, \ |
1880 "Trace the state of the CMS collection") \ | 1903 "Trace the state of the CMS collection") \ |
1881 \ | 1904 \ |
1882 product(intx, RefDiscoveryPolicy, 0, \ | 1905 product(intx, RefDiscoveryPolicy, 0, \ |
1883 "Whether reference-based(0) or referent-based(1)") \ | 1906 "Select type of reference discovery policy: " \ |
1907 "reference-based(0) or referent-based(1)") \ | |
1884 \ | 1908 \ |
1885 product(bool, ParallelRefProcEnabled, false, \ | 1909 product(bool, ParallelRefProcEnabled, false, \ |
1886 "Enable parallel reference processing whenever possible") \ | 1910 "Enable parallel reference processing whenever possible") \ |
1887 \ | 1911 \ |
1888 product(bool, ParallelRefProcBalancingEnabled, true, \ | 1912 product(bool, ParallelRefProcBalancingEnabled, true, \ |
1906 "concurrent GC cycle based on the occupancy of the entire heap, " \ | 1930 "concurrent GC cycle based on the occupancy of the entire heap, " \ |
1907 "not just one of the generations (e.g., G1). A value of 0 " \ | 1931 "not just one of the generations (e.g., G1). A value of 0 " \ |
1908 "denotes 'do constant GC cycles'.") \ | 1932 "denotes 'do constant GC cycles'.") \ |
1909 \ | 1933 \ |
1910 product(bool, UseCMSInitiatingOccupancyOnly, false, \ | 1934 product(bool, UseCMSInitiatingOccupancyOnly, false, \ |
1911 "Only use occupancy as a crierion for starting a CMS collection") \ | 1935 "Only use occupancy as a criterion for starting a CMS collection")\ |
1912 \ | 1936 \ |
1913 product(uintx, CMSIsTooFullPercentage, 98, \ | 1937 product(uintx, CMSIsTooFullPercentage, 98, \ |
1914 "An absolute ceiling above which CMS will always consider the " \ | 1938 "An absolute ceiling above which CMS will always consider the " \ |
1915 "unloading of classes when class unloading is enabled") \ | 1939 "unloading of classes when class unloading is enabled") \ |
1916 \ | 1940 \ |
1918 "Check if the coalesced range is already in the " \ | 1942 "Check if the coalesced range is already in the " \ |
1919 "free lists as claimed") \ | 1943 "free lists as claimed") \ |
1920 \ | 1944 \ |
1921 notproduct(bool, CMSVerifyReturnedBytes, false, \ | 1945 notproduct(bool, CMSVerifyReturnedBytes, false, \ |
1922 "Check that all the garbage collected was returned to the " \ | 1946 "Check that all the garbage collected was returned to the " \ |
1923 "free lists.") \ | 1947 "free lists") \ |
1924 \ | 1948 \ |
1925 notproduct(bool, ScavengeALot, false, \ | 1949 notproduct(bool, ScavengeALot, false, \ |
1926 "Force scavenge at every Nth exit from the runtime system " \ | 1950 "Force scavenge at every Nth exit from the runtime system " \ |
1927 "(N=ScavengeALotInterval)") \ | 1951 "(N=ScavengeALotInterval)") \ |
1928 \ | 1952 \ |
1933 notproduct(bool, GCALotAtAllSafepoints, false, \ | 1957 notproduct(bool, GCALotAtAllSafepoints, false, \ |
1934 "Enforce ScavengeALot/GCALot at all potential safepoints") \ | 1958 "Enforce ScavengeALot/GCALot at all potential safepoints") \ |
1935 \ | 1959 \ |
1936 product(bool, PrintPromotionFailure, false, \ | 1960 product(bool, PrintPromotionFailure, false, \ |
1937 "Print additional diagnostic information following " \ | 1961 "Print additional diagnostic information following " \ |
1938 " promotion failure") \ | 1962 "promotion failure") \ |
1939 \ | 1963 \ |
1940 notproduct(bool, PromotionFailureALot, false, \ | 1964 notproduct(bool, PromotionFailureALot, false, \ |
1941 "Use promotion failure handling on every youngest generation " \ | 1965 "Use promotion failure handling on every youngest generation " \ |
1942 "collection") \ | 1966 "collection") \ |
1943 \ | 1967 \ |
1944 develop(uintx, PromotionFailureALotCount, 1000, \ | 1968 develop(uintx, PromotionFailureALotCount, 1000, \ |
1945 "Number of promotion failures occurring at ParGCAllocBuffer" \ | 1969 "Number of promotion failures occurring at ParGCAllocBuffer " \ |
1946 "refill attempts (ParNew) or promotion attempts " \ | 1970 "refill attempts (ParNew) or promotion attempts " \ |
1947 "(other young collectors) ") \ | 1971 "(other young collectors)") \ |
1948 \ | 1972 \ |
1949 develop(uintx, PromotionFailureALotInterval, 5, \ | 1973 develop(uintx, PromotionFailureALotInterval, 5, \ |
1950 "Total collections between promotion failures alot") \ | 1974 "Total collections between promotion failures alot") \ |
1951 \ | 1975 \ |
1952 experimental(uintx, WorkStealingSleepMillis, 1, \ | 1976 experimental(uintx, WorkStealingSleepMillis, 1, \ |
1961 \ | 1985 \ |
1962 experimental(uintx, WorkStealingSpinToYieldRatio, 10, \ | 1986 experimental(uintx, WorkStealingSpinToYieldRatio, 10, \ |
1963 "Ratio of hard spins to calls to yield") \ | 1987 "Ratio of hard spins to calls to yield") \ |
1964 \ | 1988 \ |
1965 develop(uintx, ObjArrayMarkingStride, 512, \ | 1989 develop(uintx, ObjArrayMarkingStride, 512, \ |
1966 "Number of ObjArray elements to push onto the marking stack" \ | 1990 "Number of object array elements to push onto the marking stack " \ |
1967 "before pushing a continuation entry") \ | 1991 "before pushing a continuation entry") \ |
1968 \ | 1992 \ |
1969 develop(bool, MetadataAllocationFailALot, false, \ | 1993 develop(bool, MetadataAllocationFailALot, false, \ |
1970 "Fail metadata allocations at intervals controlled by " \ | 1994 "Fail metadata allocations at intervals controlled by " \ |
1971 "MetadataAllocationFailALotInterval") \ | 1995 "MetadataAllocationFailALotInterval") \ |
1972 \ | 1996 \ |
1973 develop(uintx, MetadataAllocationFailALotInterval, 1000, \ | 1997 develop(uintx, MetadataAllocationFailALotInterval, 1000, \ |
1974 "metadata allocation failure alot interval") \ | 1998 "Metadata allocation failure a lot interval") \ |
1975 \ | |
1976 develop(bool, MetaDataDeallocateALot, false, \ | |
1977 "Deallocation bunches of metadata at intervals controlled by " \ | |
1978 "MetaDataAllocateALotInterval") \ | |
1979 \ | |
1980 develop(uintx, MetaDataDeallocateALotInterval, 100, \ | |
1981 "Metadata deallocation alot interval") \ | |
1982 \ | 1999 \ |
1983 develop(bool, TraceMetadataChunkAllocation, false, \ | 2000 develop(bool, TraceMetadataChunkAllocation, false, \ |
1984 "Trace chunk metadata allocations") \ | 2001 "Trace chunk metadata allocations") \ |
1985 \ | 2002 \ |
1986 product(bool, TraceMetadataHumongousAllocation, false, \ | 2003 product(bool, TraceMetadataHumongousAllocation, false, \ |
1988 \ | 2005 \ |
1989 develop(bool, TraceMetavirtualspaceAllocation, false, \ | 2006 develop(bool, TraceMetavirtualspaceAllocation, false, \ |
1990 "Trace virtual space metadata allocations") \ | 2007 "Trace virtual space metadata allocations") \ |
1991 \ | 2008 \ |
1992 notproduct(bool, ExecuteInternalVMTests, false, \ | 2009 notproduct(bool, ExecuteInternalVMTests, false, \ |
1993 "Enable execution of internal VM tests.") \ | 2010 "Enable execution of internal VM tests") \ |
1994 \ | 2011 \ |
1995 notproduct(bool, VerboseInternalVMTests, false, \ | 2012 notproduct(bool, VerboseInternalVMTests, false, \ |
1996 "Turn on logging for internal VM tests.") \ | 2013 "Turn on logging for internal VM tests.") \ |
1997 \ | 2014 \ |
1998 product_pd(bool, UseTLAB, "Use thread-local object allocation") \ | 2015 product_pd(bool, UseTLAB, "Use thread-local object allocation") \ |
1999 \ | 2016 \ |
2000 product_pd(bool, ResizeTLAB, \ | 2017 product_pd(bool, ResizeTLAB, \ |
2001 "Dynamically resize tlab size for threads") \ | 2018 "Dynamically resize TLAB size for threads") \ |
2002 \ | 2019 \ |
2003 product(bool, ZeroTLAB, false, \ | 2020 product(bool, ZeroTLAB, false, \ |
2004 "Zero out the newly created TLAB") \ | 2021 "Zero out the newly created TLAB") \ |
2005 \ | 2022 \ |
2006 product(bool, FastTLABRefill, true, \ | 2023 product(bool, FastTLABRefill, true, \ |
2008 \ | 2025 \ |
2009 product(bool, PrintTLAB, false, \ | 2026 product(bool, PrintTLAB, false, \ |
2010 "Print various TLAB related information") \ | 2027 "Print various TLAB related information") \ |
2011 \ | 2028 \ |
2012 product(bool, TLABStats, true, \ | 2029 product(bool, TLABStats, true, \ |
2013 "Print various TLAB related information") \ | 2030 "Provide more detailed and expensive TLAB statistics " \ |
2031 "(with PrintTLAB)") \ | |
2014 \ | 2032 \ |
2015 EMBEDDED_ONLY(product(bool, LowMemoryProtection, true, \ | 2033 EMBEDDED_ONLY(product(bool, LowMemoryProtection, true, \ |
2016 "Enable LowMemoryProtection")) \ | 2034 "Enable LowMemoryProtection")) \ |
2017 \ | 2035 \ |
2018 product_pd(bool, NeverActAsServerClassMachine, \ | 2036 product_pd(bool, NeverActAsServerClassMachine, \ |
2042 \ | 2060 \ |
2043 product(uintx, InitialRAMFraction, 64, \ | 2061 product(uintx, InitialRAMFraction, 64, \ |
2044 "Fraction (1/n) of real memory used for initial heap size") \ | 2062 "Fraction (1/n) of real memory used for initial heap size") \ |
2045 \ | 2063 \ |
2046 develop(uintx, MaxVirtMemFraction, 2, \ | 2064 develop(uintx, MaxVirtMemFraction, 2, \ |
2047 "Maximum fraction (1/n) of virtual memory used for ergonomically" \ | 2065 "Maximum fraction (1/n) of virtual memory used for ergonomically "\ |
2048 "determining maximum heap size") \ | 2066 "determining maximum heap size") \ |
2049 \ | 2067 \ |
2050 product(bool, UseAutoGCSelectPolicy, false, \ | 2068 product(bool, UseAutoGCSelectPolicy, false, \ |
2051 "Use automatic collection selection policy") \ | 2069 "Use automatic collection selection policy") \ |
2052 \ | 2070 \ |
2053 product(uintx, AutoGCSelectPauseMillis, 5000, \ | 2071 product(uintx, AutoGCSelectPauseMillis, 5000, \ |
2054 "Automatic GC selection pause threshhold in ms") \ | 2072 "Automatic GC selection pause threshold in milliseconds") \ |
2055 \ | 2073 \ |
2056 product(bool, UseAdaptiveSizePolicy, true, \ | 2074 product(bool, UseAdaptiveSizePolicy, true, \ |
2057 "Use adaptive generation sizing policies") \ | 2075 "Use adaptive generation sizing policies") \ |
2058 \ | 2076 \ |
2059 product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \ | 2077 product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \ |
2064 \ | 2082 \ |
2065 product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \ | 2083 product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \ |
2066 "Use adaptive young-old sizing policies at major collections") \ | 2084 "Use adaptive young-old sizing policies at major collections") \ |
2067 \ | 2085 \ |
2068 product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \ | 2086 product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \ |
2069 "Use statistics from System.GC for adaptive size policy") \ | 2087 "Include statistics from System.gc() for adaptive size policy") \ |
2070 \ | 2088 \ |
2071 product(bool, UseAdaptiveGCBoundary, false, \ | 2089 product(bool, UseAdaptiveGCBoundary, false, \ |
2072 "Allow young-old boundary to move") \ | 2090 "Allow young-old boundary to move") \ |
2073 \ | 2091 \ |
2074 develop(bool, TraceAdaptiveGCBoundary, false, \ | 2092 develop(bool, TraceAdaptiveGCBoundary, false, \ |
2076 \ | 2094 \ |
2077 develop(intx, PSAdaptiveSizePolicyResizeVirtualSpaceAlot, -1, \ | 2095 develop(intx, PSAdaptiveSizePolicyResizeVirtualSpaceAlot, -1, \ |
2078 "Resize the virtual spaces of the young or old generations") \ | 2096 "Resize the virtual spaces of the young or old generations") \ |
2079 \ | 2097 \ |
2080 product(uintx, AdaptiveSizeThroughPutPolicy, 0, \ | 2098 product(uintx, AdaptiveSizeThroughPutPolicy, 0, \ |
2081 "Policy for changeing generation size for throughput goals") \ | 2099 "Policy for changing generation size for throughput goals") \ |
2082 \ | 2100 \ |
2083 product(uintx, AdaptiveSizePausePolicy, 0, \ | 2101 product(uintx, AdaptiveSizePausePolicy, 0, \ |
2084 "Policy for changing generation size for pause goals") \ | 2102 "Policy for changing generation size for pause goals") \ |
2085 \ | 2103 \ |
2086 develop(bool, PSAdjustTenuredGenForMinorPause, false, \ | 2104 develop(bool, PSAdjustTenuredGenForMinorPause, false, \ |
2087 "Adjust tenured generation to achive a minor pause goal") \ | 2105 "Adjust tenured generation to achieve a minor pause goal") \ |
2088 \ | 2106 \ |
2089 develop(bool, PSAdjustYoungGenForMajorPause, false, \ | 2107 develop(bool, PSAdjustYoungGenForMajorPause, false, \ |
2090 "Adjust young generation to achive a major pause goal") \ | 2108 "Adjust young generation to achieve a major pause goal") \ |
2091 \ | 2109 \ |
2092 product(uintx, AdaptiveSizePolicyInitializingSteps, 20, \ | 2110 product(uintx, AdaptiveSizePolicyInitializingSteps, 20, \ |
2093 "Number of steps where heuristics is used before data is used") \ | 2111 "Number of steps where heuristics is used before data is used") \ |
2094 \ | 2112 \ |
2095 develop(uintx, AdaptiveSizePolicyReadyThreshold, 5, \ | 2113 develop(uintx, AdaptiveSizePolicyReadyThreshold, 5, \ |
2140 \ | 2158 \ |
2141 product(uintx, TenuredGenerationSizeSupplementDecay, 2, \ | 2159 product(uintx, TenuredGenerationSizeSupplementDecay, 2, \ |
2142 "Decay factor to TenuredGenerationSizeIncrement") \ | 2160 "Decay factor to TenuredGenerationSizeIncrement") \ |
2143 \ | 2161 \ |
2144 product(uintx, MaxGCPauseMillis, max_uintx, \ | 2162 product(uintx, MaxGCPauseMillis, max_uintx, \ |
2145 "Adaptive size policy maximum GC pause time goal in msec, " \ | 2163 "Adaptive size policy maximum GC pause time goal in millisecond, "\ |
2146 "or (G1 Only) the max. GC time per MMU time slice") \ | 2164 "or (G1 Only) the maximum GC time per MMU time slice") \ |
2147 \ | 2165 \ |
2148 product(uintx, GCPauseIntervalMillis, 0, \ | 2166 product(uintx, GCPauseIntervalMillis, 0, \ |
2149 "Time slice for MMU specification") \ | 2167 "Time slice for MMU specification") \ |
2150 \ | 2168 \ |
2151 product(uintx, MaxGCMinorPauseMillis, max_uintx, \ | 2169 product(uintx, MaxGCMinorPauseMillis, max_uintx, \ |
2152 "Adaptive size policy maximum GC minor pause time goal in msec") \ | 2170 "Adaptive size policy maximum GC minor pause time goal " \ |
2171 "in millisecond") \ | |
2153 \ | 2172 \ |
2154 product(uintx, GCTimeRatio, 99, \ | 2173 product(uintx, GCTimeRatio, 99, \ |
2155 "Adaptive size policy application time to GC time ratio") \ | 2174 "Adaptive size policy application time to GC time ratio") \ |
2156 \ | 2175 \ |
2157 product(uintx, AdaptiveSizeDecrementScaleFactor, 4, \ | 2176 product(uintx, AdaptiveSizeDecrementScaleFactor, 4, \ |
2165 \ | 2184 \ |
2166 product(uintx, MinSurvivorRatio, 3, \ | 2185 product(uintx, MinSurvivorRatio, 3, \ |
2167 "Minimum ratio of young generation/survivor space size") \ | 2186 "Minimum ratio of young generation/survivor space size") \ |
2168 \ | 2187 \ |
2169 product(uintx, InitialSurvivorRatio, 8, \ | 2188 product(uintx, InitialSurvivorRatio, 8, \ |
2170 "Initial ratio of eden/survivor space size") \ | 2189 "Initial ratio of young generation/survivor space size") \ |
2171 \ | 2190 \ |
2172 product(uintx, BaseFootPrintEstimate, 256*M, \ | 2191 product(uintx, BaseFootPrintEstimate, 256*M, \ |
2173 "Estimate of footprint other than Java Heap") \ | 2192 "Estimate of footprint other than Java Heap") \ |
2174 \ | 2193 \ |
2175 product(bool, UseGCOverheadLimit, true, \ | 2194 product(bool, UseGCOverheadLimit, true, \ |
2176 "Use policy to limit of proportion of time spent in GC " \ | 2195 "Use policy to limit of proportion of time spent in GC " \ |
2177 "before an OutOfMemory error is thrown") \ | 2196 "before an OutOfMemory error is thrown") \ |
2178 \ | 2197 \ |
2179 product(uintx, GCTimeLimit, 98, \ | 2198 product(uintx, GCTimeLimit, 98, \ |
2180 "Limit of proportion of time spent in GC before an OutOfMemory" \ | 2199 "Limit of the proportion of time spent in GC before " \ |
2181 "error is thrown (used with GCHeapFreeLimit)") \ | 2200 "an OutOfMemoryError is thrown (used with GCHeapFreeLimit)") \ |
2182 \ | 2201 \ |
2183 product(uintx, GCHeapFreeLimit, 2, \ | 2202 product(uintx, GCHeapFreeLimit, 2, \ |
2184 "Minimum percentage of free space after a full GC before an " \ | 2203 "Minimum percentage of free space after a full GC before an " \ |
2185 "OutOfMemoryError is thrown (used with GCTimeLimit)") \ | 2204 "OutOfMemoryError is thrown (used with GCTimeLimit)") \ |
2186 \ | 2205 \ |
2198 \ | 2217 \ |
2199 product(intx, PrefetchFieldsAhead, -1, \ | 2218 product(intx, PrefetchFieldsAhead, -1, \ |
2200 "How many fields ahead to prefetch in oop scan (<= 0 means off)") \ | 2219 "How many fields ahead to prefetch in oop scan (<= 0 means off)") \ |
2201 \ | 2220 \ |
2202 diagnostic(bool, VerifySilently, false, \ | 2221 diagnostic(bool, VerifySilently, false, \ |
2203 "Don't print print the verification progress") \ | 2222 "Do not print the verification progress") \ |
2204 \ | 2223 \ |
2205 diagnostic(bool, VerifyDuringStartup, false, \ | 2224 diagnostic(bool, VerifyDuringStartup, false, \ |
2206 "Verify memory system before executing any Java code " \ | 2225 "Verify memory system before executing any Java code " \ |
2207 "during VM initialization") \ | 2226 "during VM initialization") \ |
2208 \ | 2227 \ |
2221 diagnostic(bool, GCParallelVerificationEnabled, true, \ | 2240 diagnostic(bool, GCParallelVerificationEnabled, true, \ |
2222 "Enable parallel memory system verification") \ | 2241 "Enable parallel memory system verification") \ |
2223 \ | 2242 \ |
2224 diagnostic(bool, DeferInitialCardMark, false, \ | 2243 diagnostic(bool, DeferInitialCardMark, false, \ |
2225 "When +ReduceInitialCardMarks, explicitly defer any that " \ | 2244 "When +ReduceInitialCardMarks, explicitly defer any that " \ |
2226 "may arise from new_pre_store_barrier") \ | 2245 "may arise from new_pre_store_barrier") \ |
2227 \ | 2246 \ |
2228 diagnostic(bool, VerifyRememberedSets, false, \ | 2247 diagnostic(bool, VerifyRememberedSets, false, \ |
2229 "Verify GC remembered sets") \ | 2248 "Verify GC remembered sets") \ |
2230 \ | 2249 \ |
2231 diagnostic(bool, VerifyObjectStartArray, true, \ | 2250 diagnostic(bool, VerifyObjectStartArray, true, \ |
2232 "Verify GC object start array if verify before/after") \ | 2251 "Verify GC object start array if verify before/after") \ |
2233 \ | 2252 \ |
2234 product(bool, DisableExplicitGC, false, \ | 2253 product(bool, DisableExplicitGC, false, \ |
2235 "Tells whether calling System.gc() does a full GC") \ | 2254 "Ignore calls to System.gc()") \ |
2236 \ | 2255 \ |
2237 notproduct(bool, CheckMemoryInitialization, false, \ | 2256 notproduct(bool, CheckMemoryInitialization, false, \ |
2238 "Checks memory initialization") \ | 2257 "Check memory initialization") \ |
2239 \ | 2258 \ |
2240 product(bool, CollectGen0First, false, \ | 2259 product(bool, CollectGen0First, false, \ |
2241 "Collect youngest generation before each full GC") \ | 2260 "Collect youngest generation before each full GC") \ |
2242 \ | 2261 \ |
2243 diagnostic(bool, BindCMSThreadToCPU, false, \ | 2262 diagnostic(bool, BindCMSThreadToCPU, false, \ |
2254 \ | 2273 \ |
2255 product(uintx, ProcessDistributionStride, 4, \ | 2274 product(uintx, ProcessDistributionStride, 4, \ |
2256 "Stride through processors when distributing processes") \ | 2275 "Stride through processors when distributing processes") \ |
2257 \ | 2276 \ |
2258 product(uintx, CMSCoordinatorYieldSleepCount, 10, \ | 2277 product(uintx, CMSCoordinatorYieldSleepCount, 10, \ |
2259 "number of times the coordinator GC thread will sleep while " \ | 2278 "Number of times the coordinator GC thread will sleep while " \ |
2260 "yielding before giving up and resuming GC") \ | 2279 "yielding before giving up and resuming GC") \ |
2261 \ | 2280 \ |
2262 product(uintx, CMSYieldSleepCount, 0, \ | 2281 product(uintx, CMSYieldSleepCount, 0, \ |
2263 "number of times a GC thread (minus the coordinator) " \ | 2282 "Number of times a GC thread (minus the coordinator) " \ |
2264 "will sleep while yielding before giving up and resuming GC") \ | 2283 "will sleep while yielding before giving up and resuming GC") \ |
2265 \ | 2284 \ |
2266 /* gc tracing */ \ | 2285 /* gc tracing */ \ |
2267 manageable(bool, PrintGC, false, \ | 2286 manageable(bool, PrintGC, false, \ |
2268 "Print message at garbage collect") \ | 2287 "Print message at garbage collection") \ |
2269 \ | 2288 \ |
2270 manageable(bool, PrintGCDetails, false, \ | 2289 manageable(bool, PrintGCDetails, false, \ |
2271 "Print more details at garbage collect") \ | 2290 "Print more details at garbage collection") \ |
2272 \ | 2291 \ |
2273 manageable(bool, PrintGCDateStamps, false, \ | 2292 manageable(bool, PrintGCDateStamps, false, \ |
2274 "Print date stamps at garbage collect") \ | 2293 "Print date stamps at garbage collection") \ |
2275 \ | 2294 \ |
2276 manageable(bool, PrintGCTimeStamps, false, \ | 2295 manageable(bool, PrintGCTimeStamps, false, \ |
2277 "Print timestamps at garbage collect") \ | 2296 "Print timestamps at garbage collection") \ |
2278 \ | 2297 \ |
2279 product(bool, PrintGCTaskTimeStamps, false, \ | 2298 product(bool, PrintGCTaskTimeStamps, false, \ |
2280 "Print timestamps for individual gc worker thread tasks") \ | 2299 "Print timestamps for individual gc worker thread tasks") \ |
2281 \ | 2300 \ |
2282 develop(intx, ConcGCYieldTimeout, 0, \ | 2301 develop(intx, ConcGCYieldTimeout, 0, \ |
2283 "If non-zero, assert that GC threads yield within this # of ms.") \ | 2302 "If non-zero, assert that GC threads yield within this " \ |
2303 "number of milliseconds") \ | |
2284 \ | 2304 \ |
2285 notproduct(bool, TraceMarkSweep, false, \ | 2305 notproduct(bool, TraceMarkSweep, false, \ |
2286 "Trace mark sweep") \ | 2306 "Trace mark sweep") \ |
2287 \ | 2307 \ |
2288 product(bool, PrintReferenceGC, false, \ | 2308 product(bool, PrintReferenceGC, false, \ |
2289 "Print times spent handling reference objects during GC " \ | 2309 "Print times spent handling reference objects during GC " \ |
2290 " (enabled only when PrintGCDetails)") \ | 2310 "(enabled only when PrintGCDetails)") \ |
2291 \ | 2311 \ |
2292 develop(bool, TraceReferenceGC, false, \ | 2312 develop(bool, TraceReferenceGC, false, \ |
2293 "Trace handling of soft/weak/final/phantom references") \ | 2313 "Trace handling of soft/weak/final/phantom references") \ |
2294 \ | 2314 \ |
2295 develop(bool, TraceFinalizerRegistration, false, \ | 2315 develop(bool, TraceFinalizerRegistration, false, \ |
2296 "Trace registration of final references") \ | 2316 "Trace registration of final references") \ |
2297 \ | 2317 \ |
2298 notproduct(bool, TraceScavenge, false, \ | 2318 notproduct(bool, TraceScavenge, false, \ |
2299 "Trace scavenge") \ | 2319 "Trace scavenge") \ |
2300 \ | 2320 \ |
2301 product_rw(bool, TraceClassLoading, false, \ | 2321 product_rw(bool, TraceClassLoading, false, \ |
2328 \ | 2348 \ |
2329 product_rw(bool, PrintHeapAtGC, false, \ | 2349 product_rw(bool, PrintHeapAtGC, false, \ |
2330 "Print heap layout before and after each GC") \ | 2350 "Print heap layout before and after each GC") \ |
2331 \ | 2351 \ |
2332 product_rw(bool, PrintHeapAtGCExtended, false, \ | 2352 product_rw(bool, PrintHeapAtGCExtended, false, \ |
2333 "Prints extended information about the layout of the heap " \ | 2353 "Print extended information about the layout of the heap " \ |
2334 "when -XX:+PrintHeapAtGC is set") \ | 2354 "when -XX:+PrintHeapAtGC is set") \ |
2335 \ | 2355 \ |
2336 product(bool, PrintHeapAtSIGBREAK, true, \ | 2356 product(bool, PrintHeapAtSIGBREAK, true, \ |
2337 "Print heap layout in response to SIGBREAK") \ | 2357 "Print heap layout in response to SIGBREAK") \ |
2338 \ | 2358 \ |
2365 \ | 2385 \ |
2366 diagnostic(bool, TraceGCTaskThread, false, \ | 2386 diagnostic(bool, TraceGCTaskThread, false, \ |
2367 "Trace actions of the GC task threads") \ | 2387 "Trace actions of the GC task threads") \ |
2368 \ | 2388 \ |
2369 product(bool, PrintParallelOldGCPhaseTimes, false, \ | 2389 product(bool, PrintParallelOldGCPhaseTimes, false, \ |
2370 "Print the time taken by each parallel old gc phase." \ | 2390 "Print the time taken by each phase in ParallelOldGC " \ |
2371 "PrintGCDetails must also be enabled.") \ | 2391 "(PrintGCDetails must also be enabled)") \ |
2372 \ | 2392 \ |
2373 develop(bool, TraceParallelOldGCMarkingPhase, false, \ | 2393 develop(bool, TraceParallelOldGCMarkingPhase, false, \ |
2374 "Trace parallel old gc marking phase") \ | 2394 "Trace marking phase in ParallelOldGC") \ |
2375 \ | 2395 \ |
2376 develop(bool, TraceParallelOldGCSummaryPhase, false, \ | 2396 develop(bool, TraceParallelOldGCSummaryPhase, false, \ |
2377 "Trace parallel old gc summary phase") \ | 2397 "Trace summary phase in ParallelOldGC") \ |
2378 \ | 2398 \ |
2379 develop(bool, TraceParallelOldGCCompactionPhase, false, \ | 2399 develop(bool, TraceParallelOldGCCompactionPhase, false, \ |
2380 "Trace parallel old gc compaction phase") \ | 2400 "Trace compaction phase in ParallelOldGC") \ |
2381 \ | 2401 \ |
2382 develop(bool, TraceParallelOldGCDensePrefix, false, \ | 2402 develop(bool, TraceParallelOldGCDensePrefix, false, \ |
2383 "Trace parallel old gc dense prefix computation") \ | 2403 "Trace dense prefix computation for ParallelOldGC") \ |
2384 \ | 2404 \ |
2385 develop(bool, IgnoreLibthreadGPFault, false, \ | 2405 develop(bool, IgnoreLibthreadGPFault, false, \ |
2386 "Suppress workaround for libthread GP fault") \ | 2406 "Suppress workaround for libthread GP fault") \ |
2387 \ | 2407 \ |
2388 product(bool, PrintJNIGCStalls, false, \ | 2408 product(bool, PrintJNIGCStalls, false, \ |
2389 "Print diagnostic message when GC is stalled" \ | 2409 "Print diagnostic message when GC is stalled " \ |
2390 "by JNI critical section") \ | 2410 "by JNI critical section") \ |
2391 \ | 2411 \ |
2392 experimental(double, ObjectCountCutOffPercent, 0.5, \ | 2412 experimental(double, ObjectCountCutOffPercent, 0.5, \ |
2393 "The percentage of the used heap that the instances of a class " \ | 2413 "The percentage of the used heap that the instances of a class " \ |
2394 "must occupy for the class to generate a trace event.") \ | 2414 "must occupy for the class to generate a trace event") \ |
2395 \ | 2415 \ |
2396 /* GC log rotation setting */ \ | 2416 /* GC log rotation setting */ \ |
2397 \ | 2417 \ |
2398 product(bool, UseGCLogFileRotation, false, \ | 2418 product(bool, UseGCLogFileRotation, false, \ |
2399 "Prevent large gclog file for long running app. " \ | 2419 "Rotate gclog files (for long running applications). It requires "\ |
2400 "Requires -Xloggc:<filename>") \ | 2420 "-Xloggc:<filename>") \ |
2401 \ | 2421 \ |
2402 product(uintx, NumberOfGCLogFiles, 0, \ | 2422 product(uintx, NumberOfGCLogFiles, 0, \ |
2403 "Number of gclog files in rotation, " \ | 2423 "Number of gclog files in rotation " \ |
2404 "Default: 0, no rotation") \ | 2424 "(default: 0, no rotation)") \ |
2405 \ | 2425 \ |
2406 product(uintx, GCLogFileSize, 0, \ | 2426 product(uintx, GCLogFileSize, 0, \ |
2407 "GC log file size, Default: 0 bytes, no rotation " \ | 2427 "GC log file size (default: 0 bytes, no rotation). " \ |
2408 "Only valid with UseGCLogFileRotation") \ | 2428 "It requires UseGCLogFileRotation") \ |
2409 \ | 2429 \ |
2410 /* JVMTI heap profiling */ \ | 2430 /* JVMTI heap profiling */ \ |
2411 \ | 2431 \ |
2412 diagnostic(bool, TraceJVMTIObjectTagging, false, \ | 2432 diagnostic(bool, TraceJVMTIObjectTagging, false, \ |
2413 "Trace JVMTI object tagging calls") \ | 2433 "Trace JVMTI object tagging calls") \ |
2480 \ | 2500 \ |
2481 develop(bool, GenerateRangeChecks, true, \ | 2501 develop(bool, GenerateRangeChecks, true, \ |
2482 "Generate range checks for array accesses") \ | 2502 "Generate range checks for array accesses") \ |
2483 \ | 2503 \ |
2484 develop_pd(bool, ImplicitNullChecks, \ | 2504 develop_pd(bool, ImplicitNullChecks, \ |
2485 "generate code for implicit null checks") \ | 2505 "Generate code for implicit null checks") \ |
2486 \ | 2506 \ |
2487 product(bool, PrintSafepointStatistics, false, \ | 2507 product(bool, PrintSafepointStatistics, false, \ |
2488 "print statistics about safepoint synchronization") \ | 2508 "Print statistics about safepoint synchronization") \ |
2489 \ | 2509 \ |
2490 product(intx, PrintSafepointStatisticsCount, 300, \ | 2510 product(intx, PrintSafepointStatisticsCount, 300, \ |
2491 "total number of safepoint statistics collected " \ | 2511 "Total number of safepoint statistics collected " \ |
2492 "before printing them out") \ | 2512 "before printing them out") \ |
2493 \ | 2513 \ |
2494 product(intx, PrintSafepointStatisticsTimeout, -1, \ | 2514 product(intx, PrintSafepointStatisticsTimeout, -1, \ |
2495 "print safepoint statistics only when safepoint takes" \ | 2515 "Print safepoint statistics only when safepoint takes " \ |
2496 " more than PrintSafepointSatisticsTimeout in millis") \ | 2516 "more than PrintSafepointSatisticsTimeout in millis") \ |
2497 \ | 2517 \ |
2498 product(bool, TraceSafepointCleanupTime, false, \ | 2518 product(bool, TraceSafepointCleanupTime, false, \ |
2499 "print the break down of clean up tasks performed during" \ | 2519 "Print the break down of clean up tasks performed during " \ |
2500 " safepoint") \ | 2520 "safepoint") \ |
2501 \ | 2521 \ |
2502 product(bool, Inline, true, \ | 2522 product(bool, Inline, true, \ |
2503 "enable inlining") \ | 2523 "Enable inlining") \ |
2504 \ | 2524 \ |
2505 product(bool, ClipInlining, true, \ | 2525 product(bool, ClipInlining, true, \ |
2506 "clip inlining if aggregate method exceeds DesiredMethodLimit") \ | 2526 "Clip inlining if aggregate method exceeds DesiredMethodLimit") \ |
2507 \ | 2527 \ |
2508 develop(bool, UseCHA, true, \ | 2528 develop(bool, UseCHA, true, \ |
2509 "enable CHA") \ | 2529 "Enable CHA") \ |
2510 \ | 2530 \ |
2511 product(bool, UseTypeProfile, true, \ | 2531 product(bool, UseTypeProfile, true, \ |
2512 "Check interpreter profile for historically monomorphic calls") \ | 2532 "Check interpreter profile for historically monomorphic calls") \ |
2513 \ | 2533 \ |
2514 notproduct(bool, TimeCompiler, false, \ | 2534 notproduct(bool, TimeCompiler, false, \ |
2515 "time the compiler") \ | 2535 "Time the compiler") \ |
2516 \ | 2536 \ |
2517 diagnostic(bool, PrintInlining, false, \ | 2537 diagnostic(bool, PrintInlining, false, \ |
2518 "prints inlining optimizations") \ | 2538 "Print inlining optimizations") \ |
2519 \ | 2539 \ |
2520 product(bool, UsePopCountInstruction, false, \ | 2540 product(bool, UsePopCountInstruction, false, \ |
2521 "Use population count instruction") \ | 2541 "Use population count instruction") \ |
2522 \ | 2542 \ |
2523 develop(bool, EagerInitialization, false, \ | 2543 develop(bool, EagerInitialization, false, \ |
2525 \ | 2545 \ |
2526 develop(bool, TraceMethodReplacement, false, \ | 2546 develop(bool, TraceMethodReplacement, false, \ |
2527 "Print when methods are replaced do to recompilation") \ | 2547 "Print when methods are replaced do to recompilation") \ |
2528 \ | 2548 \ |
2529 develop(bool, PrintMethodFlushing, false, \ | 2549 develop(bool, PrintMethodFlushing, false, \ |
2530 "print the nmethods being flushed") \ | 2550 "Print the nmethods being flushed") \ |
2531 \ | 2551 \ |
2532 develop(bool, UseRelocIndex, false, \ | 2552 develop(bool, UseRelocIndex, false, \ |
2533 "use an index to speed random access to relocations") \ | 2553 "Use an index to speed random access to relocations") \ |
2534 \ | 2554 \ |
2535 develop(bool, StressCodeBuffers, false, \ | 2555 develop(bool, StressCodeBuffers, false, \ |
2536 "Exercise code buffer expansion and other rare state changes") \ | 2556 "Exercise code buffer expansion and other rare state changes") \ |
2537 \ | 2557 \ |
2538 diagnostic(bool, DebugNonSafepoints, trueInDebug, \ | 2558 diagnostic(bool, DebugNonSafepoints, trueInDebug, \ |
2539 "Generate extra debugging info for non-safepoints in nmethods") \ | 2559 "Generate extra debugging information for non-safepoints in " \ |
2560 "nmethods") \ | |
2540 \ | 2561 \ |
2541 product(bool, PrintVMOptions, false, \ | 2562 product(bool, PrintVMOptions, false, \ |
2542 "Print flags that appeared on the command line") \ | 2563 "Print flags that appeared on the command line") \ |
2543 \ | 2564 \ |
2544 product(bool, IgnoreUnrecognizedVMOptions, false, \ | 2565 product(bool, IgnoreUnrecognizedVMOptions, false, \ |
2545 "Ignore unrecognized VM options") \ | 2566 "Ignore unrecognized VM options") \ |
2546 \ | 2567 \ |
2547 product(bool, PrintCommandLineFlags, false, \ | 2568 product(bool, PrintCommandLineFlags, false, \ |
2548 "Print flags specified on command line or set by ergonomics") \ | 2569 "Print flags specified on command line or set by ergonomics") \ |
2549 \ | 2570 \ |
2550 product(bool, PrintFlagsInitial, false, \ | 2571 product(bool, PrintFlagsInitial, false, \ |
2551 "Print all VM flags before argument processing and exit VM") \ | 2572 "Print all VM flags before argument processing and exit VM") \ |
2552 \ | 2573 \ |
2553 product(bool, PrintFlagsFinal, false, \ | 2574 product(bool, PrintFlagsFinal, false, \ |
2554 "Print all VM flags after argument and ergonomic processing") \ | 2575 "Print all VM flags after argument and ergonomic processing") \ |
2555 \ | 2576 \ |
2556 notproduct(bool, PrintFlagsWithComments, false, \ | 2577 notproduct(bool, PrintFlagsWithComments, false, \ |
2557 "Print all VM flags with default values and descriptions and exit")\ | 2578 "Print all VM flags with default values and descriptions and " \ |
2579 "exit") \ | |
2558 \ | 2580 \ |
2559 diagnostic(bool, SerializeVMOutput, true, \ | 2581 diagnostic(bool, SerializeVMOutput, true, \ |
2560 "Use a mutex to serialize output to tty and LogFile") \ | 2582 "Use a mutex to serialize output to tty and LogFile") \ |
2561 \ | 2583 \ |
2562 diagnostic(bool, DisplayVMOutput, true, \ | 2584 diagnostic(bool, DisplayVMOutput, true, \ |
2563 "Display all VM output on the tty, independently of LogVMOutput") \ | 2585 "Display all VM output on the tty, independently of LogVMOutput") \ |
2564 \ | 2586 \ |
2565 diagnostic(bool, LogVMOutput, false, \ | 2587 diagnostic(bool, LogVMOutput, false, \ |
2566 "Save VM output to LogFile") \ | 2588 "Save VM output to LogFile") \ |
2567 \ | 2589 \ |
2568 diagnostic(ccstr, LogFile, NULL, \ | 2590 diagnostic(ccstr, LogFile, NULL, \ |
2569 "If LogVMOutput or LogCompilation is on, save VM output to " \ | 2591 "If LogVMOutput or LogCompilation is on, save VM output to " \ |
2570 "this file [default: ./hotspot_pid%p.log] (%p replaced with pid)") \ | 2592 "this file [default: ./hotspot_pid%p.log] (%p replaced with pid)")\ |
2571 \ | 2593 \ |
2572 product(ccstr, ErrorFile, NULL, \ | 2594 product(ccstr, ErrorFile, NULL, \ |
2573 "If an error occurs, save the error data to this file " \ | 2595 "If an error occurs, save the error data to this file " \ |
2574 "[default: ./hs_err_pid%p.log] (%p replaced with pid)") \ | 2596 "[default: ./hs_err_pid%p.log] (%p replaced with pid)") \ |
2575 \ | 2597 \ |
2576 product(bool, DisplayVMOutputToStderr, false, \ | 2598 product(bool, DisplayVMOutputToStderr, false, \ |
2577 "If DisplayVMOutput is true, display all VM output to stderr") \ | 2599 "If DisplayVMOutput is true, display all VM output to stderr") \ |
2578 \ | 2600 \ |
2579 product(bool, DisplayVMOutputToStdout, false, \ | 2601 product(bool, DisplayVMOutputToStdout, false, \ |
2580 "If DisplayVMOutput is true, display all VM output to stdout") \ | 2602 "If DisplayVMOutput is true, display all VM output to stdout") \ |
2581 \ | 2603 \ |
2582 product(bool, UseHeavyMonitors, false, \ | 2604 product(bool, UseHeavyMonitors, false, \ |
2583 "use heavyweight instead of lightweight Java monitors") \ | 2605 "use heavyweight instead of lightweight Java monitors") \ |
2584 \ | 2606 \ |
2585 product(bool, PrintStringTableStatistics, false, \ | 2607 product(bool, PrintStringTableStatistics, false, \ |
2599 "Call fatal if this exception is thrown. Example: " \ | 2621 "Call fatal if this exception is thrown. Example: " \ |
2600 "java -XX:AbortVMOnException=java.lang.NullPointerException Foo") \ | 2622 "java -XX:AbortVMOnException=java.lang.NullPointerException Foo") \ |
2601 \ | 2623 \ |
2602 notproduct(ccstr, AbortVMOnExceptionMessage, NULL, \ | 2624 notproduct(ccstr, AbortVMOnExceptionMessage, NULL, \ |
2603 "Call fatal if the exception pointed by AbortVMOnException " \ | 2625 "Call fatal if the exception pointed by AbortVMOnException " \ |
2604 "has this message.") \ | 2626 "has this message") \ |
2605 \ | 2627 \ |
2606 develop(bool, DebugVtables, false, \ | 2628 develop(bool, DebugVtables, false, \ |
2607 "add debugging code to vtable dispatch") \ | 2629 "add debugging code to vtable dispatch") \ |
2608 \ | 2630 \ |
2609 develop(bool, PrintVtables, false, \ | 2631 develop(bool, PrintVtables, false, \ |
2664 "Inline allocations larger than this in doublewords must go slow")\ | 2686 "Inline allocations larger than this in doublewords must go slow")\ |
2665 \ | 2687 \ |
2666 product(bool, AggressiveOpts, false, \ | 2688 product(bool, AggressiveOpts, false, \ |
2667 "Enable aggressive optimizations - see arguments.cpp") \ | 2689 "Enable aggressive optimizations - see arguments.cpp") \ |
2668 \ | 2690 \ |
2691 product_pd(uintx, TypeProfileLevel, \ | |
2692 "=XYZ, with Z: Type profiling of arguments at call; " \ | |
2693 "Y: Type profiling of return value at call; " \ | |
2694 "X: Type profiling of parameters to methods; " \ | |
2695 "X, Y and Z in 0=off ; 1=jsr292 only; 2=all methods") \ | |
2696 \ | |
2697 product(intx, TypeProfileArgsLimit, 2, \ | |
2698 "max number of call arguments to consider for type profiling") \ | |
2699 \ | |
2700 product(intx, TypeProfileParmsLimit, 2, \ | |
2701 "max number of incoming parameters to consider for type profiling"\ | |
2702 ", -1 for all") \ | |
2703 \ | |
2669 /* statistics */ \ | 2704 /* statistics */ \ |
2670 develop(bool, CountCompiledCalls, false, \ | 2705 develop(bool, CountCompiledCalls, false, \ |
2671 "counts method invocations") \ | 2706 "Count method invocations") \ |
2672 \ | 2707 \ |
2673 notproduct(bool, CountRuntimeCalls, false, \ | 2708 notproduct(bool, CountRuntimeCalls, false, \ |
2674 "counts VM runtime calls") \ | 2709 "Count VM runtime calls") \ |
2675 \ | 2710 \ |
2676 develop(bool, CountJNICalls, false, \ | 2711 develop(bool, CountJNICalls, false, \ |
2677 "counts jni method invocations") \ | 2712 "Count jni method invocations") \ |
2678 \ | 2713 \ |
2679 notproduct(bool, CountJVMCalls, false, \ | 2714 notproduct(bool, CountJVMCalls, false, \ |
2680 "counts jvm method invocations") \ | 2715 "Count jvm method invocations") \ |
2681 \ | 2716 \ |
2682 notproduct(bool, CountRemovableExceptions, false, \ | 2717 notproduct(bool, CountRemovableExceptions, false, \ |
2683 "count exceptions that could be replaced by branches due to " \ | 2718 "Count exceptions that could be replaced by branches due to " \ |
2684 "inlining") \ | 2719 "inlining") \ |
2685 \ | 2720 \ |
2686 notproduct(bool, ICMissHistogram, false, \ | 2721 notproduct(bool, ICMissHistogram, false, \ |
2687 "produce histogram of IC misses") \ | 2722 "Produce histogram of IC misses") \ |
2688 \ | 2723 \ |
2689 notproduct(bool, PrintClassStatistics, false, \ | 2724 notproduct(bool, PrintClassStatistics, false, \ |
2690 "prints class statistics at end of run") \ | 2725 "Print class statistics at end of run") \ |
2691 \ | 2726 \ |
2692 notproduct(bool, PrintMethodStatistics, false, \ | 2727 notproduct(bool, PrintMethodStatistics, false, \ |
2693 "prints method statistics at end of run") \ | 2728 "Print method statistics at end of run") \ |
2694 \ | 2729 \ |
2695 /* interpreter */ \ | 2730 /* interpreter */ \ |
2696 develop(bool, ClearInterpreterLocals, false, \ | 2731 develop(bool, ClearInterpreterLocals, false, \ |
2697 "Always clear local variables of interpreter activations upon " \ | 2732 "Always clear local variables of interpreter activations upon " \ |
2698 "entry") \ | 2733 "entry") \ |
2702 \ | 2737 \ |
2703 product_pd(bool, RewriteFrequentPairs, \ | 2738 product_pd(bool, RewriteFrequentPairs, \ |
2704 "Rewrite frequently used bytecode pairs into a single bytecode") \ | 2739 "Rewrite frequently used bytecode pairs into a single bytecode") \ |
2705 \ | 2740 \ |
2706 diagnostic(bool, PrintInterpreter, false, \ | 2741 diagnostic(bool, PrintInterpreter, false, \ |
2707 "Prints the generated interpreter code") \ | 2742 "Print the generated interpreter code") \ |
2708 \ | 2743 \ |
2709 product(bool, UseInterpreter, true, \ | 2744 product(bool, UseInterpreter, true, \ |
2710 "Use interpreter for non-compiled methods") \ | 2745 "Use interpreter for non-compiled methods") \ |
2711 \ | 2746 \ |
2712 develop(bool, UseFastSignatureHandlers, true, \ | 2747 develop(bool, UseFastSignatureHandlers, true, \ |
2720 \ | 2755 \ |
2721 product(bool, UseFastAccessorMethods, true, \ | 2756 product(bool, UseFastAccessorMethods, true, \ |
2722 "Use fast method entry code for accessor methods") \ | 2757 "Use fast method entry code for accessor methods") \ |
2723 \ | 2758 \ |
2724 product_pd(bool, UseOnStackReplacement, \ | 2759 product_pd(bool, UseOnStackReplacement, \ |
2725 "Use on stack replacement, calls runtime if invoc. counter " \ | 2760 "Use on stack replacement, calls runtime if invoc. counter " \ |
2726 "overflows in loop") \ | 2761 "overflows in loop") \ |
2727 \ | 2762 \ |
2728 notproduct(bool, TraceOnStackReplacement, false, \ | 2763 notproduct(bool, TraceOnStackReplacement, false, \ |
2729 "Trace on stack replacement") \ | 2764 "Trace on stack replacement") \ |
2730 \ | 2765 \ |
2731 product_pd(bool, PreferInterpreterNativeStubs, \ | 2766 product_pd(bool, PreferInterpreterNativeStubs, \ |
2769 \ | 2804 \ |
2770 develop(bool, TraceFrequencyInlining, false, \ | 2805 develop(bool, TraceFrequencyInlining, false, \ |
2771 "Trace frequency based inlining") \ | 2806 "Trace frequency based inlining") \ |
2772 \ | 2807 \ |
2773 develop_pd(bool, InlineIntrinsics, \ | 2808 develop_pd(bool, InlineIntrinsics, \ |
2774 "Inline intrinsics that can be statically resolved") \ | 2809 "Inline intrinsics that can be statically resolved") \ |
2775 \ | 2810 \ |
2776 product_pd(bool, ProfileInterpreter, \ | 2811 product_pd(bool, ProfileInterpreter, \ |
2777 "Profile at the bytecode level during interpretation") \ | 2812 "Profile at the bytecode level during interpretation") \ |
2778 \ | 2813 \ |
2779 develop_pd(bool, ProfileTraps, \ | 2814 develop_pd(bool, ProfileTraps, \ |
2780 "Profile deoptimization traps at the bytecode level") \ | 2815 "Profile deoptimization traps at the bytecode level") \ |
2781 \ | 2816 \ |
2782 product(intx, ProfileMaturityPercentage, 20, \ | 2817 product(intx, ProfileMaturityPercentage, 20, \ |
2783 "number of method invocations/branches (expressed as % of " \ | 2818 "number of method invocations/branches (expressed as % of " \ |
2784 "CompileThreshold) before using the method's profile") \ | 2819 "CompileThreshold) before using the method's profile") \ |
2785 \ | 2820 \ |
2786 develop(bool, PrintMethodData, false, \ | 2821 develop(bool, PrintMethodData, false, \ |
2787 "Print the results of +ProfileInterpreter at end of run") \ | 2822 "Print the results of +ProfileInterpreter at end of run") \ |
2788 \ | 2823 \ |
2789 develop(bool, VerifyDataPointer, trueInDebug, \ | 2824 develop(bool, VerifyDataPointer, trueInDebug, \ |
2790 "Verify the method data pointer during interpreter profiling") \ | 2825 "Verify the method data pointer during interpreter profiling") \ |
2791 \ | 2826 \ |
2792 develop(bool, VerifyCompiledCode, false, \ | 2827 develop(bool, VerifyCompiledCode, false, \ |
2797 "Manually make GC thread crash then dump java stack trace; " \ | 2832 "Manually make GC thread crash then dump java stack trace; " \ |
2798 "Test only") \ | 2833 "Test only") \ |
2799 \ | 2834 \ |
2800 /* compilation */ \ | 2835 /* compilation */ \ |
2801 product(bool, UseCompiler, true, \ | 2836 product(bool, UseCompiler, true, \ |
2802 "use compilation") \ | 2837 "Use Just-In-Time compilation") \ |
2803 \ | 2838 \ |
2804 develop(bool, TraceCompilationPolicy, false, \ | 2839 develop(bool, TraceCompilationPolicy, false, \ |
2805 "Trace compilation policy") \ | 2840 "Trace compilation policy") \ |
2806 \ | 2841 \ |
2807 develop(bool, TimeCompilationPolicy, false, \ | 2842 develop(bool, TimeCompilationPolicy, false, \ |
2808 "Time the compilation policy") \ | 2843 "Time the compilation policy") \ |
2809 \ | 2844 \ |
2810 product(bool, UseCounterDecay, true, \ | 2845 product(bool, UseCounterDecay, true, \ |
2811 "adjust recompilation counters") \ | 2846 "Adjust recompilation counters") \ |
2812 \ | 2847 \ |
2813 develop(intx, CounterHalfLifeTime, 30, \ | 2848 develop(intx, CounterHalfLifeTime, 30, \ |
2814 "half-life time of invocation counters (in secs)") \ | 2849 "Half-life time of invocation counters (in seconds)") \ |
2815 \ | 2850 \ |
2816 develop(intx, CounterDecayMinIntervalLength, 500, \ | 2851 develop(intx, CounterDecayMinIntervalLength, 500, \ |
2817 "Min. ms. between invocation of CounterDecay") \ | 2852 "The minimum interval (in milliseconds) between invocation of " \ |
2853 "CounterDecay") \ | |
2818 \ | 2854 \ |
2819 product(bool, AlwaysCompileLoopMethods, false, \ | 2855 product(bool, AlwaysCompileLoopMethods, false, \ |
2820 "when using recompilation, never interpret methods " \ | 2856 "When using recompilation, never interpret methods " \ |
2821 "containing loops") \ | 2857 "containing loops") \ |
2822 \ | 2858 \ |
2823 product(bool, DontCompileHugeMethods, true, \ | 2859 product(bool, DontCompileHugeMethods, true, \ |
2824 "don't compile methods > HugeMethodLimit") \ | 2860 "Do not compile methods > HugeMethodLimit") \ |
2825 \ | 2861 \ |
2826 /* Bytecode escape analysis estimation. */ \ | 2862 /* Bytecode escape analysis estimation. */ \ |
2827 product(bool, EstimateArgEscape, true, \ | 2863 product(bool, EstimateArgEscape, true, \ |
2828 "Analyze bytecodes to estimate escape state of arguments") \ | 2864 "Analyze bytecodes to estimate escape state of arguments") \ |
2829 \ | 2865 \ |
2830 product(intx, BCEATraceLevel, 0, \ | 2866 product(intx, BCEATraceLevel, 0, \ |
2831 "How much tracing to do of bytecode escape analysis estimates") \ | 2867 "How much tracing to do of bytecode escape analysis estimates") \ |
2832 \ | 2868 \ |
2833 product(intx, MaxBCEAEstimateLevel, 5, \ | 2869 product(intx, MaxBCEAEstimateLevel, 5, \ |
2834 "Maximum number of nested calls that are analyzed by BC EA.") \ | 2870 "Maximum number of nested calls that are analyzed by BC EA") \ |
2835 \ | 2871 \ |
2836 product(intx, MaxBCEAEstimateSize, 150, \ | 2872 product(intx, MaxBCEAEstimateSize, 150, \ |
2837 "Maximum bytecode size of a method to be analyzed by BC EA.") \ | 2873 "Maximum bytecode size of a method to be analyzed by BC EA") \ |
2838 \ | 2874 \ |
2839 product(intx, AllocatePrefetchStyle, 1, \ | 2875 product(intx, AllocatePrefetchStyle, 1, \ |
2840 "0 = no prefetch, " \ | 2876 "0 = no prefetch, " \ |
2841 "1 = prefetch instructions for each allocation, " \ | 2877 "1 = prefetch instructions for each allocation, " \ |
2842 "2 = use TLAB watermark to gate allocation prefetch, " \ | 2878 "2 = use TLAB watermark to gate allocation prefetch, " \ |
2847 \ | 2883 \ |
2848 product(intx, AllocatePrefetchLines, 3, \ | 2884 product(intx, AllocatePrefetchLines, 3, \ |
2849 "Number of lines to prefetch ahead of array allocation pointer") \ | 2885 "Number of lines to prefetch ahead of array allocation pointer") \ |
2850 \ | 2886 \ |
2851 product(intx, AllocateInstancePrefetchLines, 1, \ | 2887 product(intx, AllocateInstancePrefetchLines, 1, \ |
2852 "Number of lines to prefetch ahead of instance allocation pointer") \ | 2888 "Number of lines to prefetch ahead of instance allocation " \ |
2889 "pointer") \ | |
2853 \ | 2890 \ |
2854 product(intx, AllocatePrefetchStepSize, 16, \ | 2891 product(intx, AllocatePrefetchStepSize, 16, \ |
2855 "Step size in bytes of sequential prefetch instructions") \ | 2892 "Step size in bytes of sequential prefetch instructions") \ |
2856 \ | 2893 \ |
2857 product(intx, AllocatePrefetchInstr, 0, \ | 2894 product(intx, AllocatePrefetchInstr, 0, \ |
2870 product(intx, SelfDestructTimer, 0, \ | 2907 product(intx, SelfDestructTimer, 0, \ |
2871 "Will cause VM to terminate after a given time (in minutes) " \ | 2908 "Will cause VM to terminate after a given time (in minutes) " \ |
2872 "(0 means off)") \ | 2909 "(0 means off)") \ |
2873 \ | 2910 \ |
2874 product(intx, MaxJavaStackTraceDepth, 1024, \ | 2911 product(intx, MaxJavaStackTraceDepth, 1024, \ |
2875 "Max. no. of lines in the stack trace for Java exceptions " \ | 2912 "The maximum number of lines in the stack trace for Java " \ |
2876 "(0 means all)") \ | 2913 "exceptions (0 means all)") \ |
2877 \ | 2914 \ |
2878 NOT_EMBEDDED(diagnostic(intx, GuaranteedSafepointInterval, 1000, \ | 2915 NOT_EMBEDDED(diagnostic(intx, GuaranteedSafepointInterval, 1000, \ |
2879 "Guarantee a safepoint (at least) every so many milliseconds " \ | 2916 "Guarantee a safepoint (at least) every so many milliseconds " \ |
2880 "(0 means none)")) \ | 2917 "(0 means none)")) \ |
2881 \ | 2918 \ |
2895 product(intx, NmethodSweepActivity, 10, \ | 2932 product(intx, NmethodSweepActivity, 10, \ |
2896 "Removes cold nmethods from code cache if > 0. Higher values " \ | 2933 "Removes cold nmethods from code cache if > 0. Higher values " \ |
2897 "result in more aggressive sweeping") \ | 2934 "result in more aggressive sweeping") \ |
2898 \ | 2935 \ |
2899 notproduct(bool, LogSweeper, false, \ | 2936 notproduct(bool, LogSweeper, false, \ |
2900 "Keep a ring buffer of sweeper activity") \ | 2937 "Keep a ring buffer of sweeper activity") \ |
2901 \ | 2938 \ |
2902 notproduct(intx, SweeperLogEntries, 1024, \ | 2939 notproduct(intx, SweeperLogEntries, 1024, \ |
2903 "Number of records in the ring buffer of sweeper activity") \ | 2940 "Number of records in the ring buffer of sweeper activity") \ |
2904 \ | 2941 \ |
2905 notproduct(intx, MemProfilingInterval, 500, \ | 2942 notproduct(intx, MemProfilingInterval, 500, \ |
2906 "Time between each invocation of the MemProfiler") \ | 2943 "Time between each invocation of the MemProfiler") \ |
2907 \ | 2944 \ |
2908 develop(intx, MallocCatchPtr, -1, \ | 2945 develop(intx, MallocCatchPtr, -1, \ |
2936 "maximum number of nested calls that are inlined") \ | 2973 "maximum number of nested calls that are inlined") \ |
2937 \ | 2974 \ |
2938 product(intx, MaxRecursiveInlineLevel, 1, \ | 2975 product(intx, MaxRecursiveInlineLevel, 1, \ |
2939 "maximum number of nested recursive calls that are inlined") \ | 2976 "maximum number of nested recursive calls that are inlined") \ |
2940 \ | 2977 \ |
2978 develop(intx, MaxForceInlineLevel, 100, \ | |
2979 "maximum number of nested @ForceInline calls that are inlined") \ | |
2980 \ | |
2941 product_pd(intx, InlineSmallCode, \ | 2981 product_pd(intx, InlineSmallCode, \ |
2942 "Only inline already compiled methods if their code size is " \ | 2982 "Only inline already compiled methods if their code size is " \ |
2943 "less than this") \ | 2983 "less than this") \ |
2944 \ | 2984 \ |
2945 product(intx, MaxInlineSize, 35, \ | 2985 product(intx, MaxInlineSize, 35, \ |
2946 "maximum bytecode size of a method to be inlined") \ | 2986 "The maximum bytecode size of a method to be inlined") \ |
2947 \ | 2987 \ |
2948 product_pd(intx, FreqInlineSize, \ | 2988 product_pd(intx, FreqInlineSize, \ |
2949 "maximum bytecode size of a frequent method to be inlined") \ | 2989 "The maximum bytecode size of a frequent method to be inlined") \ |
2950 \ | 2990 \ |
2951 product(intx, MaxTrivialSize, 6, \ | 2991 product(intx, MaxTrivialSize, 6, \ |
2952 "maximum bytecode size of a trivial method to be inlined") \ | 2992 "The maximum bytecode size of a trivial method to be inlined") \ |
2953 \ | 2993 \ |
2954 product(intx, MinInliningThreshold, 250, \ | 2994 product(intx, MinInliningThreshold, 250, \ |
2955 "min. invocation count a method needs to have to be inlined") \ | 2995 "The minimum invocation count a method needs to have to be " \ |
2996 "inlined") \ | |
2956 \ | 2997 \ |
2957 develop(intx, MethodHistogramCutoff, 100, \ | 2998 develop(intx, MethodHistogramCutoff, 100, \ |
2958 "cutoff value for method invoc. histogram (+CountCalls)") \ | 2999 "The cutoff value for method invocation histogram (+CountCalls)") \ |
2959 \ | 3000 \ |
2960 develop(intx, ProfilerNumberOfInterpretedMethods, 25, \ | 3001 develop(intx, ProfilerNumberOfInterpretedMethods, 25, \ |
2961 "# of interpreted methods to show in profile") \ | 3002 "Number of interpreted methods to show in profile") \ |
2962 \ | 3003 \ |
2963 develop(intx, ProfilerNumberOfCompiledMethods, 25, \ | 3004 develop(intx, ProfilerNumberOfCompiledMethods, 25, \ |
2964 "# of compiled methods to show in profile") \ | 3005 "Number of compiled methods to show in profile") \ |
2965 \ | 3006 \ |
2966 develop(intx, ProfilerNumberOfStubMethods, 25, \ | 3007 develop(intx, ProfilerNumberOfStubMethods, 25, \ |
2967 "# of stub methods to show in profile") \ | 3008 "Number of stub methods to show in profile") \ |
2968 \ | 3009 \ |
2969 develop(intx, ProfilerNumberOfRuntimeStubNodes, 25, \ | 3010 develop(intx, ProfilerNumberOfRuntimeStubNodes, 25, \ |
2970 "# of runtime stub nodes to show in profile") \ | 3011 "Number of runtime stub nodes to show in profile") \ |
2971 \ | 3012 \ |
2972 product(intx, ProfileIntervalsTicks, 100, \ | 3013 product(intx, ProfileIntervalsTicks, 100, \ |
2973 "# of ticks between printing of interval profile " \ | 3014 "Number of ticks between printing of interval profile " \ |
2974 "(+ProfileIntervals)") \ | 3015 "(+ProfileIntervals)") \ |
2975 \ | 3016 \ |
2976 notproduct(intx, ScavengeALotInterval, 1, \ | 3017 notproduct(intx, ScavengeALotInterval, 1, \ |
2977 "Interval between which scavenge will occur with +ScavengeALot") \ | 3018 "Interval between which scavenge will occur with +ScavengeALot") \ |
2978 \ | 3019 \ |
2989 develop(intx, DontYieldALotInterval, 10, \ | 3030 develop(intx, DontYieldALotInterval, 10, \ |
2990 "Interval between which yields will be dropped (milliseconds)") \ | 3031 "Interval between which yields will be dropped (milliseconds)") \ |
2991 \ | 3032 \ |
2992 develop(intx, MinSleepInterval, 1, \ | 3033 develop(intx, MinSleepInterval, 1, \ |
2993 "Minimum sleep() interval (milliseconds) when " \ | 3034 "Minimum sleep() interval (milliseconds) when " \ |
2994 "ConvertSleepToYield is off (used for SOLARIS)") \ | 3035 "ConvertSleepToYield is off (used for Solaris)") \ |
2995 \ | 3036 \ |
2996 develop(intx, ProfilerPCTickThreshold, 15, \ | 3037 develop(intx, ProfilerPCTickThreshold, 15, \ |
2997 "Number of ticks in a PC buckets to be a hotspot") \ | 3038 "Number of ticks in a PC buckets to be a hotspot") \ |
2998 \ | 3039 \ |
2999 notproduct(intx, DeoptimizeALotInterval, 5, \ | 3040 notproduct(intx, DeoptimizeALotInterval, 5, \ |
3000 "Number of exits until DeoptimizeALot kicks in") \ | 3041 "Number of exits until DeoptimizeALot kicks in") \ |
3001 \ | 3042 \ |
3002 notproduct(intx, ZombieALotInterval, 5, \ | 3043 notproduct(intx, ZombieALotInterval, 5, \ |
3003 "Number of exits until ZombieALot kicks in") \ | 3044 "Number of exits until ZombieALot kicks in") \ |
3004 \ | 3045 \ |
3005 develop(bool, StressNonEntrant, false, \ | |
3006 "Mark nmethods non-entrant at registration") \ | |
3007 \ | |
3008 diagnostic(intx, MallocVerifyInterval, 0, \ | 3046 diagnostic(intx, MallocVerifyInterval, 0, \ |
3009 "if non-zero, verify C heap after every N calls to " \ | 3047 "If non-zero, verify C heap after every N calls to " \ |
3010 "malloc/realloc/free") \ | 3048 "malloc/realloc/free") \ |
3011 \ | 3049 \ |
3012 diagnostic(intx, MallocVerifyStart, 0, \ | 3050 diagnostic(intx, MallocVerifyStart, 0, \ |
3013 "if non-zero, start verifying C heap after Nth call to " \ | 3051 "If non-zero, start verifying C heap after Nth call to " \ |
3014 "malloc/realloc/free") \ | 3052 "malloc/realloc/free") \ |
3015 \ | 3053 \ |
3016 diagnostic(uintx, MallocMaxTestWords, 0, \ | 3054 diagnostic(uintx, MallocMaxTestWords, 0, \ |
3017 "if non-zero, max # of Words that malloc/realloc can allocate " \ | 3055 "If non-zero, maximum number of words that malloc/realloc can " \ |
3018 "(for testing only)") \ | 3056 "allocate (for testing only)") \ |
3019 \ | 3057 \ |
3020 product_pd(intx, TypeProfileWidth, \ | 3058 product(intx, TypeProfileWidth, 2, \ |
3021 "number of receiver types to record in call/cast profile") \ | 3059 "Number of receiver types to record in call/cast profile") \ |
3022 \ | 3060 \ |
3023 product_pd(intx, MethodProfileWidth, \ | 3061 product_pd(intx, MethodProfileWidth, \ |
3024 "number of methods to record in call profile") \ | 3062 "number of methods to record in call profile") \ |
3025 \ | 3063 \ |
3026 develop(intx, BciProfileWidth, 2, \ | 3064 develop(intx, BciProfileWidth, 2, \ |
3027 "number of return bci's to record in ret profile") \ | 3065 "Number of return bci's to record in ret profile") \ |
3028 \ | 3066 \ |
3029 product(intx, PerMethodRecompilationCutoff, 400, \ | 3067 product(intx, PerMethodRecompilationCutoff, 400, \ |
3030 "After recompiling N times, stay in the interpreter (-1=>'Inf')") \ | 3068 "After recompiling N times, stay in the interpreter (-1=>'Inf')") \ |
3031 \ | 3069 \ |
3032 product(intx, PerBytecodeRecompilationCutoff, 200, \ | 3070 product(intx, PerBytecodeRecompilationCutoff, 200, \ |
3089 \ | 3127 \ |
3090 product(uintx, TLABWasteTargetPercent, 1, \ | 3128 product(uintx, TLABWasteTargetPercent, 1, \ |
3091 "Percentage of Eden that can be wasted") \ | 3129 "Percentage of Eden that can be wasted") \ |
3092 \ | 3130 \ |
3093 product(uintx, TLABRefillWasteFraction, 64, \ | 3131 product(uintx, TLABRefillWasteFraction, 64, \ |
3094 "Max TLAB waste at a refill (internal fragmentation)") \ | 3132 "Maximum TLAB waste at a refill (internal fragmentation)") \ |
3095 \ | 3133 \ |
3096 product(uintx, TLABWasteIncrement, 4, \ | 3134 product(uintx, TLABWasteIncrement, 4, \ |
3097 "Increment allowed waste at slow allocation") \ | 3135 "Increment allowed waste at slow allocation") \ |
3098 \ | 3136 \ |
3099 product(uintx, SurvivorRatio, 8, \ | 3137 product(uintx, SurvivorRatio, 8, \ |
3100 "Ratio of eden/survivor space size") \ | 3138 "Ratio of eden/survivor space size") \ |
3101 \ | 3139 \ |
3102 product(uintx, NewRatio, 2, \ | 3140 product(uintx, NewRatio, 2, \ |
3103 "Ratio of new/old generation sizes") \ | 3141 "Ratio of old/new generation sizes") \ |
3104 \ | 3142 \ |
3105 product_pd(uintx, NewSizeThreadIncrease, \ | 3143 product_pd(uintx, NewSizeThreadIncrease, \ |
3106 "Additional size added to desired new generation size per " \ | 3144 "Additional size added to desired new generation size per " \ |
3107 "non-daemon thread (in bytes)") \ | 3145 "non-daemon thread (in bytes)") \ |
3108 \ | 3146 \ |
3115 product(uintx, CompressedClassSpaceSize, 1*G, \ | 3153 product(uintx, CompressedClassSpaceSize, 1*G, \ |
3116 "Maximum size of class area in Metaspace when compressed " \ | 3154 "Maximum size of class area in Metaspace when compressed " \ |
3117 "class pointers are used") \ | 3155 "class pointers are used") \ |
3118 \ | 3156 \ |
3119 product(uintx, MinHeapFreeRatio, 40, \ | 3157 product(uintx, MinHeapFreeRatio, 40, \ |
3120 "Min percentage of heap free after GC to avoid expansion") \ | 3158 "The minimum percentage of heap free after GC to avoid expansion."\ |
3159 " For most GCs this applies to the old generation. In G1 it" \ | |
3160 " applies to the whole heap. Not supported by ParallelGC.") \ | |
3121 \ | 3161 \ |
3122 product(uintx, MaxHeapFreeRatio, 70, \ | 3162 product(uintx, MaxHeapFreeRatio, 70, \ |
3123 "Max percentage of heap free after GC to avoid shrinking") \ | 3163 "The maximum percentage of heap free after GC to avoid shrinking."\ |
3164 " For most GCs this applies to the old generation. In G1 it" \ | |
3165 " applies to the whole heap. Not supported by ParallelGC.") \ | |
3124 \ | 3166 \ |
3125 product(intx, SoftRefLRUPolicyMSPerMB, 1000, \ | 3167 product(intx, SoftRefLRUPolicyMSPerMB, 1000, \ |
3126 "Number of milliseconds per MB of free space in the heap") \ | 3168 "Number of milliseconds per MB of free space in the heap") \ |
3127 \ | 3169 \ |
3128 product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K), \ | 3170 product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K), \ |
3129 "Min change in heap space due to GC (in bytes)") \ | 3171 "The minimum change in heap space due to GC (in bytes)") \ |
3130 \ | 3172 \ |
3131 product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K), \ | 3173 product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K), \ |
3132 "Min expansion of Metaspace (in bytes)") \ | 3174 "The minimum expansion of Metaspace (in bytes)") \ |
3133 \ | 3175 \ |
3134 product(uintx, MinMetaspaceFreeRatio, 40, \ | 3176 product(uintx, MinMetaspaceFreeRatio, 40, \ |
3135 "Min percentage of Metaspace free after GC to avoid expansion") \ | 3177 "The minimum percentage of Metaspace free after GC to avoid " \ |
3178 "expansion") \ | |
3136 \ | 3179 \ |
3137 product(uintx, MaxMetaspaceFreeRatio, 70, \ | 3180 product(uintx, MaxMetaspaceFreeRatio, 70, \ |
3138 "Max percentage of Metaspace free after GC to avoid shrinking") \ | 3181 "The maximum percentage of Metaspace free after GC to avoid " \ |
3182 "shrinking") \ | |
3139 \ | 3183 \ |
3140 product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ | 3184 product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ |
3141 "Max expansion of Metaspace without full GC (in bytes)") \ | 3185 "The maximum expansion of Metaspace without full GC (in bytes)") \ |
3142 \ | 3186 \ |
3143 product(uintx, QueuedAllocationWarningCount, 0, \ | 3187 product(uintx, QueuedAllocationWarningCount, 0, \ |
3144 "Number of times an allocation that queues behind a GC " \ | 3188 "Number of times an allocation that queues behind a GC " \ |
3145 "will retry before printing a warning") \ | 3189 "will retry before printing a warning") \ |
3146 \ | 3190 \ |
3158 \ | 3202 \ |
3159 product(uintx, TargetSurvivorRatio, 50, \ | 3203 product(uintx, TargetSurvivorRatio, 50, \ |
3160 "Desired percentage of survivor space used after scavenge") \ | 3204 "Desired percentage of survivor space used after scavenge") \ |
3161 \ | 3205 \ |
3162 product(uintx, MarkSweepDeadRatio, 5, \ | 3206 product(uintx, MarkSweepDeadRatio, 5, \ |
3163 "Percentage (0-100) of the old gen allowed as dead wood." \ | 3207 "Percentage (0-100) of the old gen allowed as dead wood. " \ |
3164 "Serial mark sweep treats this as both the min and max value." \ | 3208 "Serial mark sweep treats this as both the minimum and maximum " \ |
3165 "CMS uses this value only if it falls back to mark sweep." \ | 3209 "value. " \ |
3166 "Par compact uses a variable scale based on the density of the" \ | 3210 "CMS uses this value only if it falls back to mark sweep. " \ |
3167 "generation and treats this as the max value when the heap is" \ | 3211 "Par compact uses a variable scale based on the density of the " \ |
3168 "either completely full or completely empty. Par compact also" \ | 3212 "generation and treats this as the maximum value when the heap " \ |
3169 "has a smaller default value; see arguments.cpp.") \ | 3213 "is either completely full or completely empty. Par compact " \ |
3214 "also has a smaller default value; see arguments.cpp.") \ | |
3170 \ | 3215 \ |
3171 product(uintx, MarkSweepAlwaysCompactCount, 4, \ | 3216 product(uintx, MarkSweepAlwaysCompactCount, 4, \ |
3172 "How often should we fully compact the heap (ignoring the dead " \ | 3217 "How often should we fully compact the heap (ignoring the dead " \ |
3173 "space parameters)") \ | 3218 "space parameters)") \ |
3174 \ | 3219 \ |
3183 \ | 3228 \ |
3184 product(intx, PrintFLSCensus, 0, \ | 3229 product(intx, PrintFLSCensus, 0, \ |
3185 "Census for CMS' FreeListSpace") \ | 3230 "Census for CMS' FreeListSpace") \ |
3186 \ | 3231 \ |
3187 develop(uintx, GCExpandToAllocateDelayMillis, 0, \ | 3232 develop(uintx, GCExpandToAllocateDelayMillis, 0, \ |
3188 "Delay in ms between expansion and allocation") \ | 3233 "Delay between expansion and allocation (in milliseconds)") \ |
3189 \ | 3234 \ |
3190 develop(uintx, GCWorkerDelayMillis, 0, \ | 3235 develop(uintx, GCWorkerDelayMillis, 0, \ |
3191 "Delay in ms in scheduling GC workers") \ | 3236 "Delay in scheduling GC workers (in milliseconds)") \ |
3192 \ | 3237 \ |
3193 product(intx, DeferThrSuspendLoopCount, 4000, \ | 3238 product(intx, DeferThrSuspendLoopCount, 4000, \ |
3194 "(Unstable) Number of times to iterate in safepoint loop " \ | 3239 "(Unstable) Number of times to iterate in safepoint loop " \ |
3195 " before blocking VM threads ") \ | 3240 "before blocking VM threads ") \ |
3196 \ | 3241 \ |
3197 product(intx, DeferPollingPageLoopCount, -1, \ | 3242 product(intx, DeferPollingPageLoopCount, -1, \ |
3198 "(Unsafe,Unstable) Number of iterations in safepoint loop " \ | 3243 "(Unsafe,Unstable) Number of iterations in safepoint loop " \ |
3199 "before changing safepoint polling page to RO ") \ | 3244 "before changing safepoint polling page to RO ") \ |
3200 \ | 3245 \ |
3201 product(intx, SafepointSpinBeforeYield, 2000, "(Unstable)") \ | 3246 product(intx, SafepointSpinBeforeYield, 2000, "(Unstable)") \ |
3202 \ | 3247 \ |
3203 product(bool, PSChunkLargeArrays, true, \ | 3248 product(bool, PSChunkLargeArrays, true, \ |
3204 "true: process large arrays in chunks") \ | 3249 "Process large arrays in chunks") \ |
3205 \ | 3250 \ |
3206 product(uintx, GCDrainStackTargetSize, 64, \ | 3251 product(uintx, GCDrainStackTargetSize, 64, \ |
3207 "how many entries we'll try to leave on the stack during " \ | 3252 "Number of entries we will try to leave on the stack " \ |
3208 "parallel GC") \ | 3253 "during parallel gc") \ |
3209 \ | 3254 \ |
3210 /* stack parameters */ \ | 3255 /* stack parameters */ \ |
3211 product_pd(intx, StackYellowPages, \ | 3256 product_pd(intx, StackYellowPages, \ |
3212 "Number of yellow zone (recoverable overflows) pages") \ | 3257 "Number of yellow zone (recoverable overflows) pages") \ |
3213 \ | 3258 \ |
3214 product_pd(intx, StackRedPages, \ | 3259 product_pd(intx, StackRedPages, \ |
3215 "Number of red zone (unrecoverable overflows) pages") \ | 3260 "Number of red zone (unrecoverable overflows) pages") \ |
3216 \ | 3261 \ |
3217 product_pd(intx, StackShadowPages, \ | 3262 product_pd(intx, StackShadowPages, \ |
3218 "Number of shadow zone (for overflow checking) pages" \ | 3263 "Number of shadow zone (for overflow checking) pages " \ |
3219 " this should exceed the depth of the VM and native call stack") \ | 3264 "this should exceed the depth of the VM and native call stack") \ |
3220 \ | 3265 \ |
3221 product_pd(intx, ThreadStackSize, \ | 3266 product_pd(intx, ThreadStackSize, \ |
3222 "Thread Stack Size (in Kbytes)") \ | 3267 "Thread Stack Size (in Kbytes)") \ |
3223 \ | 3268 \ |
3224 product_pd(intx, VMThreadStackSize, \ | 3269 product_pd(intx, VMThreadStackSize, \ |
3254 \ | 3299 \ |
3255 product_pd(uintx, ReservedCodeCacheSize, \ | 3300 product_pd(uintx, ReservedCodeCacheSize, \ |
3256 "Reserved code cache size (in bytes) - maximum code cache size") \ | 3301 "Reserved code cache size (in bytes) - maximum code cache size") \ |
3257 \ | 3302 \ |
3258 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ | 3303 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ |
3259 "When less than X space left, we stop compiling.") \ | 3304 "When less than X space left, we stop compiling") \ |
3260 \ | 3305 \ |
3261 product_pd(uintx, CodeCacheExpansionSize, \ | 3306 product_pd(uintx, CodeCacheExpansionSize, \ |
3262 "Code cache expansion size (in bytes)") \ | 3307 "Code cache expansion size (in bytes)") \ |
3263 \ | 3308 \ |
3264 develop_pd(uintx, CodeCacheMinBlockLength, \ | 3309 develop_pd(uintx, CodeCacheMinBlockLength, \ |
3265 "Minimum number of segments in a code cache block.") \ | 3310 "Minimum number of segments in a code cache block") \ |
3266 \ | 3311 \ |
3267 notproduct(bool, ExitOnFullCodeCache, false, \ | 3312 notproduct(bool, ExitOnFullCodeCache, false, \ |
3268 "Exit the VM if we fill the code cache.") \ | 3313 "Exit the VM if we fill the code cache") \ |
3269 \ | 3314 \ |
3270 product(bool, UseCodeCacheFlushing, true, \ | 3315 product(bool, UseCodeCacheFlushing, true, \ |
3271 "Attempt to clean the code cache before shutting off compiler") \ | 3316 "Remove cold/old nmethods from the code cache") \ |
3272 \ | 3317 \ |
3273 /* interpreter debugging */ \ | 3318 /* interpreter debugging */ \ |
3274 develop(intx, BinarySwitchThreshold, 5, \ | 3319 develop(intx, BinarySwitchThreshold, 5, \ |
3275 "Minimal number of lookupswitch entries for rewriting to binary " \ | 3320 "Minimal number of lookupswitch entries for rewriting to binary " \ |
3276 "switch") \ | 3321 "switch") \ |
3277 \ | 3322 \ |
3278 develop(intx, StopInterpreterAt, 0, \ | 3323 develop(intx, StopInterpreterAt, 0, \ |
3279 "Stops interpreter execution at specified bytecode number") \ | 3324 "Stop interpreter execution at specified bytecode number") \ |
3280 \ | 3325 \ |
3281 develop(intx, TraceBytecodesAt, 0, \ | 3326 develop(intx, TraceBytecodesAt, 0, \ |
3282 "Traces bytecodes starting with specified bytecode number") \ | 3327 "Trace bytecodes starting with specified bytecode number") \ |
3283 \ | 3328 \ |
3284 /* compiler interface */ \ | 3329 /* compiler interface */ \ |
3285 develop(intx, CIStart, 0, \ | 3330 develop(intx, CIStart, 0, \ |
3286 "the id of the first compilation to permit") \ | 3331 "The id of the first compilation to permit") \ |
3287 \ | 3332 \ |
3288 develop(intx, CIStop, -1, \ | 3333 develop(intx, CIStop, -1, \ |
3289 "the id of the last compilation to permit") \ | 3334 "The id of the last compilation to permit") \ |
3290 \ | 3335 \ |
3291 develop(intx, CIStartOSR, 0, \ | 3336 develop(intx, CIStartOSR, 0, \ |
3292 "the id of the first osr compilation to permit " \ | 3337 "The id of the first osr compilation to permit " \ |
3293 "(CICountOSR must be on)") \ | 3338 "(CICountOSR must be on)") \ |
3294 \ | 3339 \ |
3295 develop(intx, CIStopOSR, -1, \ | 3340 develop(intx, CIStopOSR, -1, \ |
3296 "the id of the last osr compilation to permit " \ | 3341 "The id of the last osr compilation to permit " \ |
3297 "(CICountOSR must be on)") \ | 3342 "(CICountOSR must be on)") \ |
3298 \ | 3343 \ |
3299 develop(intx, CIBreakAtOSR, -1, \ | 3344 develop(intx, CIBreakAtOSR, -1, \ |
3300 "id of osr compilation to break at") \ | 3345 "The id of osr compilation to break at") \ |
3301 \ | 3346 \ |
3302 develop(intx, CIBreakAt, -1, \ | 3347 develop(intx, CIBreakAt, -1, \ |
3303 "id of compilation to break at") \ | 3348 "The id of compilation to break at") \ |
3304 \ | 3349 \ |
3305 product(ccstrlist, CompileOnly, "", \ | 3350 product(ccstrlist, CompileOnly, "", \ |
3306 "List of methods (pkg/class.name) to restrict compilation to") \ | 3351 "List of methods (pkg/class.name) to restrict compilation to") \ |
3307 \ | 3352 \ |
3308 product(ccstr, CompileCommandFile, NULL, \ | 3353 product(ccstr, CompileCommandFile, NULL, \ |
3317 product(ccstr, ReplayDataFile, NULL, \ | 3362 product(ccstr, ReplayDataFile, NULL, \ |
3318 "File containing compilation replay information" \ | 3363 "File containing compilation replay information" \ |
3319 "[default: ./replay_pid%p.log] (%p replaced with pid)") \ | 3364 "[default: ./replay_pid%p.log] (%p replaced with pid)") \ |
3320 \ | 3365 \ |
3321 develop(intx, ReplaySuppressInitializers, 2, \ | 3366 develop(intx, ReplaySuppressInitializers, 2, \ |
3322 "Controls handling of class initialization during replay" \ | 3367 "Control handling of class initialization during replay: " \ |
3323 "0 - don't do anything special" \ | 3368 "0 - don't do anything special; " \ |
3324 "1 - treat all class initializers as empty" \ | 3369 "1 - treat all class initializers as empty; " \ |
3325 "2 - treat class initializers for application classes as empty" \ | 3370 "2 - treat class initializers for application classes as empty; " \ |
3326 "3 - allow all class initializers to run during bootstrap but" \ | 3371 "3 - allow all class initializers to run during bootstrap but " \ |
3327 " pretend they are empty after starting replay") \ | 3372 " pretend they are empty after starting replay") \ |
3328 \ | 3373 \ |
3329 develop(bool, ReplayIgnoreInitErrors, false, \ | 3374 develop(bool, ReplayIgnoreInitErrors, false, \ |
3330 "Ignore exceptions thrown during initialization for replay") \ | 3375 "Ignore exceptions thrown during initialization for replay") \ |
3331 \ | 3376 \ |
3350 \ | 3395 \ |
3351 product(intx, ThreadPriorityPolicy, 0, \ | 3396 product(intx, ThreadPriorityPolicy, 0, \ |
3352 "0 : Normal. "\ | 3397 "0 : Normal. "\ |
3353 " VM chooses priorities that are appropriate for normal "\ | 3398 " VM chooses priorities that are appropriate for normal "\ |
3354 " applications. On Solaris NORM_PRIORITY and above are mapped "\ | 3399 " applications. On Solaris NORM_PRIORITY and above are mapped "\ |
3355 " to normal native priority. Java priorities below NORM_PRIORITY"\ | 3400 " to normal native priority. Java priorities below " \ |
3356 " map to lower native priority values. On Windows applications"\ | 3401 " NORM_PRIORITY map to lower native priority values. On "\ |
3357 " are allowed to use higher native priorities. However, with "\ | 3402 " Windows applications are allowed to use higher native "\ |
3358 " ThreadPriorityPolicy=0, VM will not use the highest possible"\ | 3403 " priorities. However, with ThreadPriorityPolicy=0, VM will "\ |
3359 " native priority, THREAD_PRIORITY_TIME_CRITICAL, as it may "\ | 3404 " not use the highest possible native priority, "\ |
3360 " interfere with system threads. On Linux thread priorities "\ | 3405 " THREAD_PRIORITY_TIME_CRITICAL, as it may interfere with "\ |
3361 " are ignored because the OS does not support static priority "\ | 3406 " system threads. On Linux thread priorities are ignored "\ |
3362 " in SCHED_OTHER scheduling class which is the only choice for"\ | 3407 " because the OS does not support static priority in "\ |
3408 " SCHED_OTHER scheduling class which is the only choice for "\ | |
3363 " non-root, non-realtime applications. "\ | 3409 " non-root, non-realtime applications. "\ |
3364 "1 : Aggressive. "\ | 3410 "1 : Aggressive. "\ |
3365 " Java thread priorities map over to the entire range of "\ | 3411 " Java thread priorities map over to the entire range of "\ |
3366 " native thread priorities. Higher Java thread priorities map "\ | 3412 " native thread priorities. Higher Java thread priorities map "\ |
3367 " to higher native thread priorities. This policy should be "\ | 3413 " to higher native thread priorities. This policy should be "\ |
3388 "(Solaris only) Give compiler threads an extra quanta") \ | 3434 "(Solaris only) Give compiler threads an extra quanta") \ |
3389 \ | 3435 \ |
3390 product(bool, VMThreadHintNoPreempt, false, \ | 3436 product(bool, VMThreadHintNoPreempt, false, \ |
3391 "(Solaris only) Give VM thread an extra quanta") \ | 3437 "(Solaris only) Give VM thread an extra quanta") \ |
3392 \ | 3438 \ |
3393 product(intx, JavaPriority1_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3439 product(intx, JavaPriority1_To_OSPriority, -1, \ |
3394 product(intx, JavaPriority2_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3440 "Map Java priorities to OS priorities") \ |
3395 product(intx, JavaPriority3_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3441 \ |
3396 product(intx, JavaPriority4_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3442 product(intx, JavaPriority2_To_OSPriority, -1, \ |
3397 product(intx, JavaPriority5_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3443 "Map Java priorities to OS priorities") \ |
3398 product(intx, JavaPriority6_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3444 \ |
3399 product(intx, JavaPriority7_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3445 product(intx, JavaPriority3_To_OSPriority, -1, \ |
3400 product(intx, JavaPriority8_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3446 "Map Java priorities to OS priorities") \ |
3401 product(intx, JavaPriority9_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3447 \ |
3402 product(intx, JavaPriority10_To_OSPriority,-1, "Map Java priorities to OS priorities") \ | 3448 product(intx, JavaPriority4_To_OSPriority, -1, \ |
3449 "Map Java priorities to OS priorities") \ | |
3450 \ | |
3451 product(intx, JavaPriority5_To_OSPriority, -1, \ | |
3452 "Map Java priorities to OS priorities") \ | |
3453 \ | |
3454 product(intx, JavaPriority6_To_OSPriority, -1, \ | |
3455 "Map Java priorities to OS priorities") \ | |
3456 \ | |
3457 product(intx, JavaPriority7_To_OSPriority, -1, \ | |
3458 "Map Java priorities to OS priorities") \ | |
3459 \ | |
3460 product(intx, JavaPriority8_To_OSPriority, -1, \ | |
3461 "Map Java priorities to OS priorities") \ | |
3462 \ | |
3463 product(intx, JavaPriority9_To_OSPriority, -1, \ | |
3464 "Map Java priorities to OS priorities") \ | |
3465 \ | |
3466 product(intx, JavaPriority10_To_OSPriority,-1, \ | |
3467 "Map Java priorities to OS priorities") \ | |
3403 \ | 3468 \ |
3404 experimental(bool, UseCriticalJavaThreadPriority, false, \ | 3469 experimental(bool, UseCriticalJavaThreadPriority, false, \ |
3405 "Java thread priority 10 maps to critical scheduling priority") \ | 3470 "Java thread priority 10 maps to critical scheduling priority") \ |
3406 \ | 3471 \ |
3407 experimental(bool, UseCriticalCompilerThreadPriority, false, \ | 3472 experimental(bool, UseCriticalCompilerThreadPriority, false, \ |
3428 /* Background Compilation */ \ | 3493 /* Background Compilation */ \ |
3429 develop(intx, LongCompileThreshold, 50, \ | 3494 develop(intx, LongCompileThreshold, 50, \ |
3430 "Used with +TraceLongCompiles") \ | 3495 "Used with +TraceLongCompiles") \ |
3431 \ | 3496 \ |
3432 product(intx, StarvationMonitorInterval, 200, \ | 3497 product(intx, StarvationMonitorInterval, 200, \ |
3433 "Pause between each check in ms") \ | 3498 "Pause between each check (in milliseconds)") \ |
3434 \ | 3499 \ |
3435 /* recompilation */ \ | 3500 /* recompilation */ \ |
3436 product_pd(intx, CompileThreshold, \ | 3501 product_pd(intx, CompileThreshold, \ |
3437 "number of interpreted method invocations before (re-)compiling") \ | 3502 "number of interpreted method invocations before (re-)compiling") \ |
3438 \ | 3503 \ |
3439 product_pd(intx, BackEdgeThreshold, \ | 3504 product_pd(intx, BackEdgeThreshold, \ |
3440 "Interpreter Back edge threshold at which an OSR compilation is invoked")\ | 3505 "Interpreter Back edge threshold at which an OSR compilation is " \ |
3506 "invoked") \ | |
3441 \ | 3507 \ |
3442 product(intx, Tier0InvokeNotifyFreqLog, 7, \ | 3508 product(intx, Tier0InvokeNotifyFreqLog, 7, \ |
3443 "Interpreter (tier 0) invocation notification frequency.") \ | 3509 "Interpreter (tier 0) invocation notification frequency") \ |
3444 \ | 3510 \ |
3445 product(intx, Tier2InvokeNotifyFreqLog, 11, \ | 3511 product(intx, Tier2InvokeNotifyFreqLog, 11, \ |
3446 "C1 without MDO (tier 2) invocation notification frequency.") \ | 3512 "C1 without MDO (tier 2) invocation notification frequency") \ |
3447 \ | 3513 \ |
3448 product(intx, Tier3InvokeNotifyFreqLog, 10, \ | 3514 product(intx, Tier3InvokeNotifyFreqLog, 10, \ |
3449 "C1 with MDO profiling (tier 3) invocation notification " \ | 3515 "C1 with MDO profiling (tier 3) invocation notification " \ |
3450 "frequency.") \ | 3516 "frequency") \ |
3451 \ | 3517 \ |
3452 product(intx, Tier23InlineeNotifyFreqLog, 20, \ | 3518 product(intx, Tier23InlineeNotifyFreqLog, 20, \ |
3453 "Inlinee invocation (tiers 2 and 3) notification frequency") \ | 3519 "Inlinee invocation (tiers 2 and 3) notification frequency") \ |
3454 \ | 3520 \ |
3455 product(intx, Tier0BackedgeNotifyFreqLog, 10, \ | 3521 product(intx, Tier0BackedgeNotifyFreqLog, 10, \ |
3456 "Interpreter (tier 0) invocation notification frequency.") \ | 3522 "Interpreter (tier 0) invocation notification frequency") \ |
3457 \ | 3523 \ |
3458 product(intx, Tier2BackedgeNotifyFreqLog, 14, \ | 3524 product(intx, Tier2BackedgeNotifyFreqLog, 14, \ |
3459 "C1 without MDO (tier 2) invocation notification frequency.") \ | 3525 "C1 without MDO (tier 2) invocation notification frequency") \ |
3460 \ | 3526 \ |
3461 product(intx, Tier3BackedgeNotifyFreqLog, 13, \ | 3527 product(intx, Tier3BackedgeNotifyFreqLog, 13, \ |
3462 "C1 with MDO profiling (tier 3) invocation notification " \ | 3528 "C1 with MDO profiling (tier 3) invocation notification " \ |
3463 "frequency.") \ | 3529 "frequency") \ |
3464 \ | 3530 \ |
3465 product(intx, Tier2CompileThreshold, 0, \ | 3531 product(intx, Tier2CompileThreshold, 0, \ |
3466 "threshold at which tier 2 compilation is invoked") \ | 3532 "threshold at which tier 2 compilation is invoked") \ |
3467 \ | 3533 \ |
3468 product(intx, Tier2BackEdgeThreshold, 0, \ | 3534 product(intx, Tier2BackEdgeThreshold, 0, \ |
3475 product(intx, Tier3MinInvocationThreshold, 100, \ | 3541 product(intx, Tier3MinInvocationThreshold, 100, \ |
3476 "Minimum invocation to compile at tier 3") \ | 3542 "Minimum invocation to compile at tier 3") \ |
3477 \ | 3543 \ |
3478 product(intx, Tier3CompileThreshold, 2000, \ | 3544 product(intx, Tier3CompileThreshold, 2000, \ |
3479 "Threshold at which tier 3 compilation is invoked (invocation " \ | 3545 "Threshold at which tier 3 compilation is invoked (invocation " \ |
3480 "minimum must be satisfied.") \ | 3546 "minimum must be satisfied") \ |
3481 \ | 3547 \ |
3482 product(intx, Tier3BackEdgeThreshold, 60000, \ | 3548 product(intx, Tier3BackEdgeThreshold, 60000, \ |
3483 "Back edge threshold at which tier 3 OSR compilation is invoked") \ | 3549 "Back edge threshold at which tier 3 OSR compilation is invoked") \ |
3484 \ | 3550 \ |
3485 product(intx, Tier4InvocationThreshold, 5000, \ | 3551 product(intx, Tier4InvocationThreshold, 5000, \ |
3489 product(intx, Tier4MinInvocationThreshold, 600, \ | 3555 product(intx, Tier4MinInvocationThreshold, 600, \ |
3490 "Minimum invocation to compile at tier 4") \ | 3556 "Minimum invocation to compile at tier 4") \ |
3491 \ | 3557 \ |
3492 product(intx, Tier4CompileThreshold, 15000, \ | 3558 product(intx, Tier4CompileThreshold, 15000, \ |
3493 "Threshold at which tier 4 compilation is invoked (invocation " \ | 3559 "Threshold at which tier 4 compilation is invoked (invocation " \ |
3494 "minimum must be satisfied.") \ | 3560 "minimum must be satisfied") \ |
3495 \ | 3561 \ |
3496 product(intx, Tier4BackEdgeThreshold, 40000, \ | 3562 product(intx, Tier4BackEdgeThreshold, 40000, \ |
3497 "Back edge threshold at which tier 4 OSR compilation is invoked") \ | 3563 "Back edge threshold at which tier 4 OSR compilation is invoked") \ |
3498 \ | 3564 \ |
3499 product(intx, Tier3DelayOn, 5, \ | 3565 product(intx, Tier3DelayOn, 5, \ |
3518 \ | 3584 \ |
3519 product(intx, TieredStopAtLevel, 4, \ | 3585 product(intx, TieredStopAtLevel, 4, \ |
3520 "Stop at given compilation level") \ | 3586 "Stop at given compilation level") \ |
3521 \ | 3587 \ |
3522 product(intx, Tier0ProfilingStartPercentage, 200, \ | 3588 product(intx, Tier0ProfilingStartPercentage, 200, \ |
3523 "Start profiling in interpreter if the counters exceed tier 3" \ | 3589 "Start profiling in interpreter if the counters exceed tier 3 " \ |
3524 "thresholds by the specified percentage") \ | 3590 "thresholds by the specified percentage") \ |
3525 \ | 3591 \ |
3526 product(uintx, IncreaseFirstTierCompileThresholdAt, 50, \ | 3592 product(uintx, IncreaseFirstTierCompileThresholdAt, 50, \ |
3527 "Increase the compile threshold for C1 compilation if the code" \ | 3593 "Increase the compile threshold for C1 compilation if the code " \ |
3528 "cache is filled by the specified percentage.") \ | 3594 "cache is filled by the specified percentage") \ |
3529 \ | 3595 \ |
3530 product(intx, TieredRateUpdateMinTime, 1, \ | 3596 product(intx, TieredRateUpdateMinTime, 1, \ |
3531 "Minimum rate sampling interval (in milliseconds)") \ | 3597 "Minimum rate sampling interval (in milliseconds)") \ |
3532 \ | 3598 \ |
3533 product(intx, TieredRateUpdateMaxTime, 25, \ | 3599 product(intx, TieredRateUpdateMaxTime, 25, \ |
3538 \ | 3604 \ |
3539 product(bool, PrintTieredEvents, false, \ | 3605 product(bool, PrintTieredEvents, false, \ |
3540 "Print tiered events notifications") \ | 3606 "Print tiered events notifications") \ |
3541 \ | 3607 \ |
3542 product_pd(intx, OnStackReplacePercentage, \ | 3608 product_pd(intx, OnStackReplacePercentage, \ |
3543 "NON_TIERED number of method invocations/branches (expressed as %"\ | 3609 "NON_TIERED number of method invocations/branches (expressed as " \ |
3544 "of CompileThreshold) before (re-)compiling OSR code") \ | 3610 "% of CompileThreshold) before (re-)compiling OSR code") \ |
3545 \ | 3611 \ |
3546 product(intx, InterpreterProfilePercentage, 33, \ | 3612 product(intx, InterpreterProfilePercentage, 33, \ |
3547 "NON_TIERED number of method invocations/branches (expressed as %"\ | 3613 "NON_TIERED number of method invocations/branches (expressed as " \ |
3548 "of CompileThreshold) before profiling in the interpreter") \ | 3614 "% of CompileThreshold) before profiling in the interpreter") \ |
3549 \ | 3615 \ |
3550 develop(intx, MaxRecompilationSearchLength, 10, \ | 3616 develop(intx, MaxRecompilationSearchLength, 10, \ |
3551 "max. # frames to inspect searching for recompilee") \ | 3617 "The maximum number of frames to inspect when searching for " \ |
3618 "recompilee") \ | |
3552 \ | 3619 \ |
3553 develop(intx, MaxInterpretedSearchLength, 3, \ | 3620 develop(intx, MaxInterpretedSearchLength, 3, \ |
3554 "max. # interp. frames to skip when searching for recompilee") \ | 3621 "The maximum number of interpreted frames to skip when searching "\ |
3622 "for recompilee") \ | |
3555 \ | 3623 \ |
3556 develop(intx, DesiredMethodLimit, 8000, \ | 3624 develop(intx, DesiredMethodLimit, 8000, \ |
3557 "desired max. method size (in bytecodes) after inlining") \ | 3625 "The desired maximum method size (in bytecodes) after inlining") \ |
3558 \ | 3626 \ |
3559 develop(intx, HugeMethodLimit, 8000, \ | 3627 develop(intx, HugeMethodLimit, 8000, \ |
3560 "don't compile methods larger than this if " \ | 3628 "Don't compile methods larger than this if " \ |
3561 "+DontCompileHugeMethods") \ | 3629 "+DontCompileHugeMethods") \ |
3562 \ | 3630 \ |
3563 /* New JDK 1.4 reflection implementation */ \ | 3631 /* New JDK 1.4 reflection implementation */ \ |
3564 \ | 3632 \ |
3565 develop(bool, UseNewReflection, true, \ | 3633 develop(bool, UseNewReflection, true, \ |
3577 product(bool, ReflectionWrapResolutionErrors, true, \ | 3645 product(bool, ReflectionWrapResolutionErrors, true, \ |
3578 "Temporary flag for transition to AbstractMethodError wrapped " \ | 3646 "Temporary flag for transition to AbstractMethodError wrapped " \ |
3579 "in InvocationTargetException. See 6531596") \ | 3647 "in InvocationTargetException. See 6531596") \ |
3580 \ | 3648 \ |
3581 develop(bool, VerifyLambdaBytecodes, false, \ | 3649 develop(bool, VerifyLambdaBytecodes, false, \ |
3582 "Force verification of jdk 8 lambda metafactory bytecodes.") \ | 3650 "Force verification of jdk 8 lambda metafactory bytecodes") \ |
3583 \ | 3651 \ |
3584 develop(intx, FastSuperclassLimit, 8, \ | 3652 develop(intx, FastSuperclassLimit, 8, \ |
3585 "Depth of hardwired instanceof accelerator array") \ | 3653 "Depth of hardwired instanceof accelerator array") \ |
3586 \ | 3654 \ |
3587 /* Properties for Java libraries */ \ | 3655 /* Properties for Java libraries */ \ |
3601 "Testing Only: Use the new version while testing") \ | 3669 "Testing Only: Use the new version while testing") \ |
3602 \ | 3670 \ |
3603 /* flags for performance data collection */ \ | 3671 /* flags for performance data collection */ \ |
3604 \ | 3672 \ |
3605 product(bool, UsePerfData, falseInEmbedded, \ | 3673 product(bool, UsePerfData, falseInEmbedded, \ |
3606 "Flag to disable jvmstat instrumentation for performance testing" \ | 3674 "Flag to disable jvmstat instrumentation for performance testing "\ |
3607 "and problem isolation purposes.") \ | 3675 "and problem isolation purposes") \ |
3608 \ | 3676 \ |
3609 product(bool, PerfDataSaveToFile, false, \ | 3677 product(bool, PerfDataSaveToFile, false, \ |
3610 "Save PerfData memory to hsperfdata_<pid> file on exit") \ | 3678 "Save PerfData memory to hsperfdata_<pid> file on exit") \ |
3611 \ | 3679 \ |
3612 product(ccstr, PerfDataSaveFile, NULL, \ | 3680 product(ccstr, PerfDataSaveFile, NULL, \ |
3613 "Save PerfData memory to the specified absolute pathname," \ | 3681 "Save PerfData memory to the specified absolute pathname. " \ |
3614 "%p in the file name if present will be replaced by pid") \ | 3682 "The string %p in the file name (if present) " \ |
3615 \ | 3683 "will be replaced by pid") \ |
3616 product(intx, PerfDataSamplingInterval, 50 /*ms*/, \ | 3684 \ |
3617 "Data sampling interval in milliseconds") \ | 3685 product(intx, PerfDataSamplingInterval, 50, \ |
3686 "Data sampling interval (in milliseconds)") \ | |
3618 \ | 3687 \ |
3619 develop(bool, PerfTraceDataCreation, false, \ | 3688 develop(bool, PerfTraceDataCreation, false, \ |
3620 "Trace creation of Performance Data Entries") \ | 3689 "Trace creation of Performance Data Entries") \ |
3621 \ | 3690 \ |
3622 develop(bool, PerfTraceMemOps, false, \ | 3691 develop(bool, PerfTraceMemOps, false, \ |
3637 \ | 3706 \ |
3638 product(bool, PerfBypassFileSystemCheck, false, \ | 3707 product(bool, PerfBypassFileSystemCheck, false, \ |
3639 "Bypass Win32 file system criteria checks (Windows Only)") \ | 3708 "Bypass Win32 file system criteria checks (Windows Only)") \ |
3640 \ | 3709 \ |
3641 product(intx, UnguardOnExecutionViolation, 0, \ | 3710 product(intx, UnguardOnExecutionViolation, 0, \ |
3642 "Unguard page and retry on no-execute fault (Win32 only)" \ | 3711 "Unguard page and retry on no-execute fault (Win32 only) " \ |
3643 "0=off, 1=conservative, 2=aggressive") \ | 3712 "0=off, 1=conservative, 2=aggressive") \ |
3644 \ | 3713 \ |
3645 /* Serviceability Support */ \ | 3714 /* Serviceability Support */ \ |
3646 \ | 3715 \ |
3647 product(bool, ManagementServer, false, \ | 3716 product(bool, ManagementServer, false, \ |
3648 "Create JMX Management Server") \ | 3717 "Create JMX Management Server") \ |
3649 \ | 3718 \ |
3650 product(bool, DisableAttachMechanism, false, \ | 3719 product(bool, DisableAttachMechanism, false, \ |
3651 "Disable mechanism that allows tools to attach to this VM") \ | 3720 "Disable mechanism that allows tools to attach to this VM") \ |
3652 \ | 3721 \ |
3653 product(bool, StartAttachListener, false, \ | 3722 product(bool, StartAttachListener, false, \ |
3654 "Always start Attach Listener at VM startup") \ | 3723 "Always start Attach Listener at VM startup") \ |
3655 \ | 3724 \ |
3656 manageable(bool, PrintConcurrentLocks, false, \ | 3725 manageable(bool, PrintConcurrentLocks, false, \ |
3669 \ | 3738 \ |
3670 product(bool, RequireSharedSpaces, false, \ | 3739 product(bool, RequireSharedSpaces, false, \ |
3671 "Require shared spaces for metadata") \ | 3740 "Require shared spaces for metadata") \ |
3672 \ | 3741 \ |
3673 product(bool, DumpSharedSpaces, false, \ | 3742 product(bool, DumpSharedSpaces, false, \ |
3674 "Special mode: JVM reads a class list, loads classes, builds " \ | 3743 "Special mode: JVM reads a class list, loads classes, builds " \ |
3675 "shared spaces, and dumps the shared spaces to a file to be " \ | 3744 "shared spaces, and dumps the shared spaces to a file to be " \ |
3676 "used in future JVM runs.") \ | 3745 "used in future JVM runs") \ |
3677 \ | 3746 \ |
3678 product(bool, PrintSharedSpaces, false, \ | 3747 product(bool, PrintSharedSpaces, false, \ |
3679 "Print usage of shared spaces") \ | 3748 "Print usage of shared spaces") \ |
3680 \ | 3749 \ |
3681 product(uintx, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(16*M), \ | 3750 product(uintx, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(16*M), \ |
3744 \ | 3813 \ |
3745 product(bool, RelaxAccessControlCheck, false, \ | 3814 product(bool, RelaxAccessControlCheck, false, \ |
3746 "Relax the access control checks in the verifier") \ | 3815 "Relax the access control checks in the verifier") \ |
3747 \ | 3816 \ |
3748 diagnostic(bool, PrintDTraceDOF, false, \ | 3817 diagnostic(bool, PrintDTraceDOF, false, \ |
3749 "Print the DTrace DOF passed to the system for JSDT probes") \ | 3818 "Print the DTrace DOF passed to the system for JSDT probes") \ |
3750 \ | 3819 \ |
3751 product(uintx, StringTableSize, defaultStringTableSize, \ | 3820 product(uintx, StringTableSize, defaultStringTableSize, \ |
3752 "Number of buckets in the interned String table") \ | 3821 "Number of buckets in the interned String table") \ |
3753 \ | 3822 \ |
3823 experimental(uintx, SymbolTableSize, defaultSymbolTableSize, \ | |
3824 "Number of buckets in the JVM internal Symbol table") \ | |
3825 \ | |
3754 develop(bool, TraceDefaultMethods, false, \ | 3826 develop(bool, TraceDefaultMethods, false, \ |
3755 "Trace the default method processing steps") \ | 3827 "Trace the default method processing steps") \ |
3756 \ | 3828 \ |
3757 develop(bool, VerifyGenericSignatures, false, \ | 3829 develop(bool, VerifyGenericSignatures, false, \ |
3758 "Abort VM on erroneous or inconsistent generic signatures") \ | 3830 "Abort VM on erroneous or inconsistent generic signatures") \ |
3759 \ | 3831 \ |
3760 product(bool, UseVMInterruptibleIO, false, \ | 3832 product(bool, UseVMInterruptibleIO, false, \ |
3761 "(Unstable, Solaris-specific) Thread interrupt before or with " \ | 3833 "(Unstable, Solaris-specific) Thread interrupt before or with " \ |
3762 "EINTR for I/O operations results in OS_INTRPT. The default value"\ | 3834 "EINTR for I/O operations results in OS_INTRPT. The default " \ |
3763 " of this flag is true for JDK 6 and earlier") \ | 3835 "value of this flag is true for JDK 6 and earlier") \ |
3764 \ | 3836 \ |
3765 diagnostic(bool, WhiteBoxAPI, false, \ | 3837 diagnostic(bool, WhiteBoxAPI, false, \ |
3766 "Enable internal testing APIs") \ | 3838 "Enable internal testing APIs") \ |
3767 \ | 3839 \ |
3768 product(bool, PrintGCCause, true, \ | 3840 product(bool, PrintGCCause, true, \ |
3785 "Allocation less than this value will be allocated " \ | 3857 "Allocation less than this value will be allocated " \ |
3786 "using malloc. Larger allocations will use mmap.") \ | 3858 "using malloc. Larger allocations will use mmap.") \ |
3787 \ | 3859 \ |
3788 product(bool, EnableTracing, false, \ | 3860 product(bool, EnableTracing, false, \ |
3789 "Enable event-based tracing") \ | 3861 "Enable event-based tracing") \ |
3862 \ | |
3790 product(bool, UseLockedTracing, false, \ | 3863 product(bool, UseLockedTracing, false, \ |
3791 "Use locked-tracing when doing event-based tracing") | 3864 "Use locked-tracing when doing event-based tracing") |
3792 | |
3793 | 3865 |
3794 /* | 3866 /* |
3795 * Macros for factoring of globals | 3867 * Macros for factoring of globals |
3796 */ | 3868 */ |
3797 | 3869 |