RFR(XS): 8212883: Setting a double manageable flag with jcmd/jinfo crashes the JVM

Gerard Ziemski gerard.ziemski at oracle.com
Thu Oct 25 18:37:50 UTC 2018


> On Oct 24, 2018, at 7:53 AM, Tony Printezis <tprintezis at twitter.com> wrote:
> 
> I hate to see new code untested ... but then it seems we don't have
> tests for all the existing types of flags anyway.

We can technically write a native gtest, that would exercise the sscanf part of the methods. Something like this:

http://cr.openjdk.java.net/~gziemski/8212883_rev3


cheers


More information about the hotspot-runtime-dev mailing list