elastic / rally

Macrobenchmarking framework for Elasticsearch
Apache License 2.0
1.91k stars 314 forks source link

Make Jit telelmetry compatible with JDK 9+ #1825

Closed gareth-ellis closed 5 months ago

gareth-ellis commented 5 months ago

I found that the JIT telemetry device doesn't work with JDK > 16 - in JDK 9 the -XX:+TraceClassLoading option was replaced with -Xlog:class+load=info , JDK 9-15 it was changed for the user if they supplied the older one, in jdk16 + the option is rejected and the JVM fails to start.