RFR: 8225344: Avoid VM_EnableBiasedLocking VM operation during bootstrap if BiasedLockingStartupDelay is 0

Claes Redestad claes.redestad at oracle.com
Wed Jun 26 13:10:49 UTC 2019


Hi,

please review this cleanup to avoid a safepointing VM operation during
bootstrap to enable biased locking if the configured delay is zero
(current default).

Webrev: http://cr.openjdk.java.net/~redestad/8225344/open.00/
Bug:    https://bugs.openjdk.java.net/browse/JDK-8225344

While this avoids a safepoint during bootstrap it's effectively
performance neutral on all startup and throughput tests I've done.
Still, it seems like a good cleanup to reduce the amount of visible
(logged) work happening during a typical bootstrap.

Testing: tier1-4

Thanks!

/Claes


More information about the hotspot-runtime-dev mailing list