RFR(xxs): 8249748: gtest silently ignores bad jvm arguments

Aleksey Shipilev shade at redhat.com
Mon Jul 20 11:07:36 UTC 2020


On 7/20/20 12:59 PM, Thomas Stüfe wrote:
> I found that gtest ignores invalid jvm options randomly since it relies on
> an uninitialized variable.
> 
> issue: https://bugs.openjdk.java.net/browse/JDK-8249748
> webrev:
> http://cr.openjdk.java.net/~stuefe/webrevs/8249748-gtest-silently-ignores-bad-jvm-arguments/webrev.00/webrev/

Ouch. Looks good.

Since this is what InitializeJVM is doing, it looks trivial to me too.

-- 
Thanks,
-Aleksey



More information about the hotspot-runtime-dev mailing list