RFR: JDK-8160350 cannot truss jdk9 [solaris]

Gerald Thornbrugh gerald.thornbrugh at oracle.com
Fri Jul 1 13:56:14 UTC 2016


Hi Alan,

So the only possible negative aspect of this fix is that customers 
running JDK9 on a Solaris 8 (or older)
will not be able to truss unless they enable microstate accounting manually?

I am ok with this but it might be nice to add a JDK9 release note about 
this change.

Your changes look good to me.

Jerry
> Summary:
>
> Microstate accounting has been always-on on Solaris since Solaris 9, 
> the use of /proc/self/ctl to enable it is redundant and has the 
> side-effect of breaking the use of truss on JVM processes. Microstate 
> accounting code removed and other now-redundant *vtime* methods also 
> removed.
>
> Tested with JPRT hostpot testset, all tests passed
>
> Webrev:   http://cr.openjdk.java.net/~coleenp/JDK-8160350/
> Bug link: https://bugs.openjdk.java.net/browse/JDK-8160350
>



More information about the hotspot-dev mailing list