1679 if (FLAG_IS_DEFAULT(OldPLABSize)) { |
1679 if (FLAG_IS_DEFAULT(OldPLABSize)) { |
1680 if (!FLAG_IS_DEFAULT(ResizeOldPLAB) && !ResizeOldPLAB) { |
1680 if (!FLAG_IS_DEFAULT(ResizeOldPLAB) && !ResizeOldPLAB) { |
1681 // OldPLAB sizing manually turned off: Use a larger default setting, |
1681 // OldPLAB sizing manually turned off: Use a larger default setting, |
1682 // unless it was manually specified. This is because a too-low value |
1682 // unless it was manually specified. This is because a too-low value |
1683 // will slow down scavenges. |
1683 // will slow down scavenges. |
1684 FLAG_SET_ERGO(size_t, OldPLABSize, CFLS_LAB::_default_static_old_plab_size); // default value before 6631166 |
1684 FLAG_SET_ERGO(size_t, OldPLABSize, CompactibleFreeListSpaceLAB::_default_static_old_plab_size); // default value before 6631166 |
1685 } else { |
1685 } else { |
1686 FLAG_SET_DEFAULT(OldPLABSize, CFLS_LAB::_default_dynamic_old_plab_size); // old CMSParPromoteBlocksToClaim default |
1686 FLAG_SET_DEFAULT(OldPLABSize, CompactibleFreeListSpaceLAB::_default_dynamic_old_plab_size); // old CMSParPromoteBlocksToClaim default |
1687 } |
1687 } |
1688 } |
1688 } |
1689 |
1689 |
1690 // If either of the static initialization defaults have changed, note this |
1690 // If either of the static initialization defaults have changed, note this |
1691 // modification. |
1691 // modification. |
1692 if (!FLAG_IS_DEFAULT(OldPLABSize) || !FLAG_IS_DEFAULT(OldPLABWeight)) { |
1692 if (!FLAG_IS_DEFAULT(OldPLABSize) || !FLAG_IS_DEFAULT(OldPLABWeight)) { |
1693 CFLS_LAB::modify_initialization(OldPLABSize, OldPLABWeight); |
1693 CompactibleFreeListSpaceLAB::modify_initialization(OldPLABSize, OldPLABWeight); |
1694 } |
1694 } |
1695 |
1695 |
1696 if (!ClassUnloading) { |
1696 if (!ClassUnloading) { |
1697 FLAG_SET_CMDLINE(bool, CMSClassUnloadingEnabled, false); |
1697 FLAG_SET_CMDLINE(bool, CMSClassUnloadingEnabled, false); |
1698 FLAG_SET_CMDLINE(bool, ExplicitGCInvokesConcurrentAndUnloadsClasses, false); |
1698 FLAG_SET_CMDLINE(bool, ExplicitGCInvokesConcurrentAndUnloadsClasses, false); |