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