This bug was found by the test added by the 
https://github.com/openjdk/jdk/pull/5042. The crash is rarely reproduced, and 
in the default testrun, I was not able to crash it even once. But I have found 
that if the 1000 tests are executed in parallel a few crashes(less than 10) 
usually happen.

After the code inspection, I have found and report the problem to the [LCMS 
upstream](https://bugs.openjdk.java.net/browse/JDK-8273135?focusedCommentId=14445750&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14445750)
 

In this PR, I would like to cherry-pick the fix from the upstream and apply it 
to the JDK. So we prevent the crash and will have an opportunity to find some 
other issues if any (two crashes were found by this test already).

-------------

Commit messages:
 - fix for JDK-8273135

Changes: https://git.openjdk.java.net/jdk/pull/5436/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5436&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273135
  Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5436.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5436/head:pull/5436

PR: https://git.openjdk.java.net/jdk/pull/5436

Reply via email to