src/share/vm/runtime/commandLineFlagConstraintsGC.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8112746_open Cdiff src/share/vm/runtime/commandLineFlagConstraintsGC.cpp

src/share/vm/runtime/commandLineFlagConstraintsGC.cpp

Print this page

        

*** 95,109 **** } // GC workaround for "-XX:+UseConcMarkSweepGC" // which sets InitialTenuringThreshold to 7 but leaves MaxTenuringThreshold remaining at 6 // and therefore would invalidate the constraint ! #define UseConcMarkSweepGCWorkaroundIfNeeded(initial, max) { \ if ((initial == 7) && (max == 6)) { \ return Flag::SUCCESS; \ } \ ! } Flag::Error InitialTenuringThresholdConstraintFunc(bool verbose, uintx* value) { UseConcMarkSweepGCWorkaroundIfNeeded(*value, MaxTenuringThreshold); if ((CommandLineFlags::finishedInitializing()) && (*value > MaxTenuringThreshold)) { --- 95,110 ---- } // GC workaround for "-XX:+UseConcMarkSweepGC" // which sets InitialTenuringThreshold to 7 but leaves MaxTenuringThreshold remaining at 6 // and therefore would invalidate the constraint ! #define UseConcMarkSweepGCWorkaroundIfNeeded(initial, max) \ ! do { \ if ((initial == 7) && (max == 6)) { \ return Flag::SUCCESS; \ } \ ! } while (0) Flag::Error InitialTenuringThresholdConstraintFunc(bool verbose, uintx* value) { UseConcMarkSweepGCWorkaroundIfNeeded(*value, MaxTenuringThreshold); if ((CommandLineFlags::finishedInitializing()) && (*value > MaxTenuringThreshold)) {
src/share/vm/runtime/commandLineFlagConstraintsGC.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File