RFR 8153783: UnlockDiagnosticVMOptions should not be trueInDebug
Daniel D. Daugherty
daniel.daugherty at oracle.com
Fri Jan 26 20:19:12 UTC 2018
On 1/26/18 11:44 AM, coleen.phillimore at oracle.com wrote:
> Summary: Make default false in all builds like
> UnlockExperimentalVMOptions and fix tests.
>
> Ran all jtreg hotspot tests and jdk/java/lang tests, and sun.misc.
> There's some compiler test that I fixed. Please check if I did this
> right:
> TestPrintPreciseRTMLockingStatisticsBase.java.
>
> open webrev at http://cr.openjdk.java.net/~coleenp/8153783.01/webrev
src/hotspot/share/runtime/globals.hpp
No comments.
test/hotspot/jtreg/compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsBase.java
No comments. Messy test, but I think it is correct.
test/hotspot/jtreg/runtime/Unsafe/RangeCheck.java
No comments.
test/hotspot/jtreg/runtime/appcds/SharedArchiveFile.java
No comments.
test/hotspot/jtreg/runtime/handshake/HandshakeTransitionTest.java
No comments.
Thumbs up on the code!
The meta question is, of course, that this changes things for folks that
use non-product builds on a daily basis. Personally, I like the idea of
removing one more annoying difference between 'release' and 'fastdebug'
bits.
Yes, that means I have to remember to to include
-XX:+UnlockDiagnosticVMOptions
but I typically run things from scripts so I've been training myself to
always
include that option when I'm setting a script for bug hunt. So this
change in
behavior isn't a big deal for me.
Dan
> bug link https://bugs.openjdk.java.net/browse/JDK-8153783
>
> Thanks,
> Coleen
>
More information about the hotspot-dev
mailing list