Skip to content

Make Jit telelmetry compatible with JDK 9+#1825

Merged
gareth-ellis merged 1 commit intoelastic:masterfrom
gareth-ellis:fix-jit-telemetry
Jan 24, 2024
Merged

Make Jit telelmetry compatible with JDK 9+#1825
gareth-ellis merged 1 commit intoelastic:masterfrom
gareth-ellis:fix-jit-telemetry

Conversation

@gareth-ellis
Copy link
Copy Markdown
Member

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.

@gareth-ellis gareth-ellis added the bug Something's wrong label Jan 22, 2024
@gareth-ellis gareth-ellis added this to the 2.x milestone Jan 22, 2024
@gareth-ellis gareth-ellis requested a review from ebadyano January 22, 2024 15:50
Copy link
Copy Markdown
Contributor

@ebadyano ebadyano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@gareth-ellis gareth-ellis merged commit 2c59d03 into elastic:master Jan 24, 2024
@gareth-ellis gareth-ellis deleted the fix-jit-telemetry branch January 24, 2024 08:49
@gareth-ellis gareth-ellis modified the milestones: 2.x, 2.11 May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something's wrong

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants