rev 52961 : 8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead Summary: Move check_gc_overhead_limit() and related code to its own class Reviewed-by:
599 range(0, max_uintx) \
600 \
601 product(size_t, BaseFootPrintEstimate, 256*M, \
602 "Estimate of footprint other than Java Heap") \
603 range(0, max_uintx) \
604 \
605 product(bool, UseGCOverheadLimit, true, \
606 "Use policy to limit of proportion of time spent in GC " \
607 "before an OutOfMemory error is thrown") \
608 \
609 product(uintx, GCTimeLimit, 98, \
610 "Limit of the proportion of time spent in GC before " \
611 "an OutOfMemoryError is thrown (used with GCHeapFreeLimit)") \
612 range(0, 100) \
613 \
614 product(uintx, GCHeapFreeLimit, 2, \
615 "Minimum percentage of free space after a full GC before an " \
616 "OutOfMemoryError is thrown (used with GCTimeLimit)") \
617 range(0, 100) \
618 \
619 develop(uintx, AdaptiveSizePolicyGCTimeLimitThreshold, 5, \
620 "Number of consecutive collections before gc time limit fires") \
621 range(1, max_uintx) \
622 \
623 product(intx, PrefetchCopyIntervalInBytes, -1, \
624 "How far ahead to prefetch destination area (<= 0 means off)") \
625 range(-1, max_jint) \
626 \
627 product(intx, PrefetchScanIntervalInBytes, -1, \
628 "How far ahead to prefetch scan area (<= 0 means off)") \
629 range(-1, max_jint) \
630 \
631 product(intx, PrefetchFieldsAhead, -1, \
632 "How many fields ahead to prefetch in oop scan (<= 0 means off)") \
633 range(-1, max_jint) \
634 \
635 diagnostic(bool, VerifyDuringStartup, false, \
636 "Verify memory system before executing any Java code " \
637 "during VM initialization") \
638 \
639 diagnostic(bool, VerifyBeforeExit, trueInDebug, \
|
599 range(0, max_uintx) \
600 \
601 product(size_t, BaseFootPrintEstimate, 256*M, \
602 "Estimate of footprint other than Java Heap") \
603 range(0, max_uintx) \
604 \
605 product(bool, UseGCOverheadLimit, true, \
606 "Use policy to limit of proportion of time spent in GC " \
607 "before an OutOfMemory error is thrown") \
608 \
609 product(uintx, GCTimeLimit, 98, \
610 "Limit of the proportion of time spent in GC before " \
611 "an OutOfMemoryError is thrown (used with GCHeapFreeLimit)") \
612 range(0, 100) \
613 \
614 product(uintx, GCHeapFreeLimit, 2, \
615 "Minimum percentage of free space after a full GC before an " \
616 "OutOfMemoryError is thrown (used with GCTimeLimit)") \
617 range(0, 100) \
618 \
619 develop(uintx, GCOverheadLimitThreshold, 5, \
620 "Number of consecutive collections before gc time limit fires") \
621 range(1, max_uintx) \
622 \
623 product(intx, PrefetchCopyIntervalInBytes, -1, \
624 "How far ahead to prefetch destination area (<= 0 means off)") \
625 range(-1, max_jint) \
626 \
627 product(intx, PrefetchScanIntervalInBytes, -1, \
628 "How far ahead to prefetch scan area (<= 0 means off)") \
629 range(-1, max_jint) \
630 \
631 product(intx, PrefetchFieldsAhead, -1, \
632 "How many fields ahead to prefetch in oop scan (<= 0 means off)") \
633 range(-1, max_jint) \
634 \
635 diagnostic(bool, VerifyDuringStartup, false, \
636 "Verify memory system before executing any Java code " \
637 "during VM initialization") \
638 \
639 diagnostic(bool, VerifyBeforeExit, trueInDebug, \
|