RFR: 8223147: JFR Backport (to jdk8u)

Vladimir Kempik vkempik at azul.com
Wed May 22 16:04:37 UTC 2019


Hello.

Please take a look at these patches to fix solaris10 support for jfr on openjdk8.

Since solaris10 was never in mind when this series of patches were produced, we at azul had issues with jfr tests on solaris10.

Please take a look at series of patches which supposed to add solaris 10 support to these jfr patches discussed in this thread.

First one
http://cr.openjdk.java.net/~vkempik/solaris1/webrev.00/

it’s related to VM InterruptableIO on solaris and similar to https://bugs.openjdk.java.net/browse/JDK-8153641
fixes most of the issues we had when jvm is writing jfr dumps

second one
http://cr.openjdk.java.net/~vkempik/solaris2/webrev.00/

it’s about enumerating network interfaces on solaris10, it’s pretty different from solaris 11
on solaris11 it’s enough to just do kstat -c net -m link ,
but on solaris10 one need to do first kstat -c net -n mac and remember the list of modules which provide mac functionality, for example:

module: nxge                            instance: 0
name:   mac                             class:    net

then if you do kstat -c net -m ngxe and check only elements where name starts with module name then it’s actual list of network interfaces, for example:

module: nxge                            instance: 0
name:   nxge0                           class:    net

and the last one
http://cr.openjdk.java.net/~vkempik/solaris3/webrev.00/

is just to fix solaris build again( which was broken by http://cr.openjdk.java.net/~luchsh/g1region_type_change_event/ ) which is failing due to missing types definitions which are in file gc_implementation/g1/g1HeapRegionTraceType.hpp

All jfr tests pass on solaris10 now
Thanks, Vladimir


More information about the jdk8u-dev mailing list