RFR: 8264760: JVM crashes when two threads encounter the same resolution error [v3]

Wang Huang whuang at openjdk.java.net
Fri Apr 23 02:52:24 UTC 2021


On Thu, 8 Apr 2021 04:38:37 GMT, Wang Huang <whuang at openjdk.org> wrote:

>> As shown in JDK-8264760, I changed notes with @dholmes-ora and only fixed this issue by deleting the assert. The other whole bigger big will be fixed in the other issue.
>
> Wang Huang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add throw exception

Thank you for your review.
> Class HostNoNestMember could be removed entirely from class TestNestHostErrorWithMultiThread by doing the following:
> 
> Generate a jcod representation for class HostNoNestMember$Member and add it to HostNoNestMember.jcod.

I think a java file is more clear?

> 
> Delete class HostNoNestMember from TestNestHostErrorWithMultiThread.java.
> 
 I split `HostNoNestMember.java` from `TestNestHostErrorWithMultiThread.java`.
> Change the test to compile HostNoNestMember.jcod before compiling TestNestHostErrorWithMultiThread.java.
> 
> Doing this removes the confusion of class HostNoNestMember being compiled twice.

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

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


More information about the hotspot-runtime-dev mailing list