8366020: Assert that java code is not executed during the AOT assembly phase#30345
8366020: Assert that java code is not executed during the AOT assembly phase#30345matias9927 wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back matsaave! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@matias9927 The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
vnkozlov
left a comment
There was a problem hiding this comment.
To avoid confusion may you should use "Java code" instead of "user code" in title and comments.
| return false; | ||
| } | ||
|
|
||
| #ifndef PRODUCT |
There was a problem hiding this comment.
Use #ifdef ASSERT instead if you guard for debug VM.
User code should not be run during the AOT assembly phase and there are already checks in place to assure this. This patch simply adds a debug mode only check. Verified with tier 1-5 tests.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30345/head:pull/30345$ git checkout pull/30345Update a local copy of the PR:
$ git checkout pull/30345$ git pull https://git.openjdk.org/jdk.git pull/30345/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 30345View PR using the GUI difftool:
$ git pr show -t 30345Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30345.diff
Using Webrev
Link to Webrev Comment