feat: jdk 26 support#1240
Merged
Merged
Conversation
Closed
Contributor
|
Thanks! Took a quick glance and looks good! What is missing to remove draft status? Also, could you add one or two core dump test cases? |
Contributor
Author
Thanks for the feedback ! I just wanted to run some more extensive tests in a real environment to make sure there are no regressions. I'll look into adding the coredump tests ASAP! |
Contributor
Author
|
I have included coredump tests. The relevant coredump files can be accessed via the link below. |
Member
|
I have fetched the coredumps, uploaded it to the S3 storage and retriggered tests. Will you mark the PR as ready for review? |
florianl
approved these changes
Mar 12, 2026
christos68k
approved these changes
Mar 12, 2026
This was referenced Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Related issue: #1239
Adds JDK 26 support to the HotSpot JVM interpreter in the eBPF profiler. It handles breaking changes in the JDK 26 nmethod VM struct by adding new field mappings and adjusting immutable data size calculation to account for the new ref count trailer.
Key changes in interpreter/hotspot/:
data.go: AddedImmutableDataRefCountOfffield (JDK 26+), added_deopt_handler_entry_offsetas an alias forDeoptimizeOffset.instance.go: When_immutable_data_ref_count_offsetis present, use it to cap the immutable data region size.hotspot.go: Documented JDK 26 changes in the version history comment block.