RFR(XS): 8192908: -XX:+UseCountedLoopSafepoints alone doesn't disable strip mining with G1
Roland Westrelin
rwestrel at redhat.com
Wed Dec 6 14:06:29 UTC 2017
http://cr.openjdk.java.net/~roland/8192908/webrev.00/
Running java -XX:+UseCountedLoopSafepoints causes a message to be
printed:
warning: When counted loop safepoints are enabled, LoopStripMiningIter must be at least 1 (a safepoint every 1 iteration): setting it to 1
But the G1 specific code sets LoopStripMiningIter to 1000. This change
makes sure that -XX:+UseCountedLoopSafepoints disables loop strip
mining.
Roland.
More information about the hotspot-compiler-dev
mailing list