-
Notifications
You must be signed in to change notification settings - Fork 148
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
8339882: Replace ThreadLocalStorage::thread with Thread::current_or_null in jdk8 backport of JDK-8183925 #576
base: master
Are you sure you want to change the base?
Conversation
…or_null in jdk8 backport of JDK-8183925
👋 Welcome back btaylor! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
|
Checked the jtreg failures in github actions and I believe they're all unrelated to this change. I also see identical failures on at least one other open PR. |
/approval request Change 3 instances of ThreadLocalStorage::thread with Thread::current_or_null to retroactively make JDK-8183925 cleaner and ensure that ThreadLocalStorage::is_initialized is checked before attempting to get the current thread. |
@benty-amzn |
@benty-amzn This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
3 similar comments
@benty-amzn This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@benty-amzn This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@benty-amzn This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
This change replaces 3 instances of
ThreadLocalStorage::thread
withThread::current_or_null
to ensure thatThreadLocalStorage::is_initialized
is checked before attempting to get the current thread.Change passes all tier1 tests locally on Linux x86_64 and Windows x86_64
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/576/head:pull/576
$ git checkout pull/576
Update a local copy of the PR:
$ git checkout pull/576
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/576/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 576
View PR using the GUI difftool:
$ git pr show -t 576
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/576.diff
Webrev
Link to Webrev Comment