RFR -Make NMT a bit friendlier to work with

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Sep 20 09:59:09 PDT 2012


You should use jio_snprintf() instead of snprintf(). Otherwise looks good.

thanks,
Vladimir

Nils Loodin wrote:
> I was trying out NMT a few days ago but couldn't get it to work until I 
> realised I gave it the wrong option, and it swallowed it silently but 
> didn't do anything.
> I was trying to use -XX:NativeMemoryTracking=details instead 
> of -XX:NativeMemoryTracking=detail because because of a typo in a pdf.
> 
> So I thought I'd change it to give an error when encountering an invalid 
> option.
> If you think it looks ok I'll open a bug and push the change.
> 
> You can find the change here:
> http://cr.openjdk.java.net/~nloodin/NMTFriendly/webrev.01/
> 
> Regards,
> Nils Loodin


More information about the hotspot-runtime-dev mailing list