8373698: [Lilliput] Fix oop-checking with ZGC/CDS and compact headers#212
Open
rkennke wants to merge 2 commits intoopenjdk:masterfrom
Open
8373698: [Lilliput] Fix oop-checking with ZGC/CDS and compact headers#212rkennke wants to merge 2 commits intoopenjdk:masterfrom
rkennke wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back rkennke! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
Webrevs
|
Comment on lines
+167
to
+168
| SuspendCheckOopFunction() : _saved(check_oop_function) { check_oop_function = nullptr; } | ||
| ~SuspendCheckOopFunction() { check_oop_function = _saved; } |
Collaborator
There was a problem hiding this comment.
I don't know the threading model here - are you happy that this will not be used concurrently?
Collaborator
Author
There was a problem hiding this comment.
archive-loading is single-threaded, so we should be ok, I think.
olivergillespie
approved these changes
Apr 2, 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.
UnsafeIntrinsicsTest.java (and some others) are failing with +COH and ZGC. The reason is:
heap)
outside ZGC's virtual address space
The fix is to temporarily disable oop-checking around the affected code, because those are not real oops in the Java heap.
The alternative would have been to change all the i-hash-functions to accept oopDesc* instead of oop, but that would disable the oop-check wholesale, even for valid heap objects, which is not what we want.
Testing:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/lilliput.git pull/212/head:pull/212$ git checkout pull/212Update a local copy of the PR:
$ git checkout pull/212$ git pull https://git.openjdk.org/lilliput.git pull/212/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 212View PR using the GUI difftool:
$ git pr show -t 212Using diff file
Download this PR as a diff file:
https://git.openjdk.org/lilliput/pull/212.diff
Using Webrev
Link to Webrev Comment