-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8352110: [ASAN] heap-use-after-free of task->directive()->PrintCompilationOption #24073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@sendaoYan 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. |
Webrevs
|
| } | ||
|
|
||
| if (option == CompileCommandEnum::PrintCompilation) { | ||
| PrintCompilation = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this will set PrintCompilation to true globally, right? The directive should only apply to a specific method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we only want to have it enabled for certain methods. Let's do a backout of JDK-8351938 instead to address the problems properly in a REDO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okey, I think we should close this PR.
Hi all,
After JDK-8351938 several tests intermittent fails, because JVM print additional message "COMPILE SKIPPED: concurrent class loading", and AddressSanitizer report 'heap-use-after-free' error.
I don't know why
task->directive()->PrintCompilationOptionset astrueautomatically. This PR removetask->directive()->PrintCompilationOptionusage, and set PrintCompilation to true when receive CompileCommandEnum::PrintCompilation.Progress
Integration blocker
Issue
Reviewers without OpenJDK IDs
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24073/head:pull/24073$ git checkout pull/24073Update a local copy of the PR:
$ git checkout pull/24073$ git pull https://git.openjdk.org/jdk.git pull/24073/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24073View PR using the GUI difftool:
$ git pr show -t 24073Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24073.diff
Using Webrev
Link to Webrev Comment