RFR: 8277042: add test for 8276036 to compiler/codecache [v2]
Christian Hagedorn
chagedorn at openjdk.java.net
Tue Nov 16 13:19:37 UTC 2021
On Mon, 15 Nov 2021 09:51:16 GMT, Takuya Kiriyama <duke at openjdk.java.net> wrote:
>> Could you please review the 8277042 code?
>> This is the enhancement for 8276036.
>> I add a new test to verify the value of full_count in the message of insufficient codecache.
>
> Takuya Kiriyama has updated the pull request incrementally with one additional commit since the last revision:
>
> 8277042: add test for 8276036 to compiler/codecache
I ran your test in our internal testing with latest JDK and found the following crash:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S14125/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/928f8391-f7c3-41f7-944d-47d10f56f83d/runs/8280836e-2a4d-4ec6-8bf2-5d87f2a87640/workspace/open/src/hotspot/share/runtime/mutex.cpp:444), pid=16467, tid=16482
# assert(false) failed: Attempting to acquire lock CompileTask_lock/safepoint out of order with lock MethodCompileQueue_lock/safepoint -- possible deadlock
#
# JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-internal+0-2021-11-16-1108284.christian.hagedorn.jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-internal+0-2021-11-16-1108284.christian.hagedorn.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1563e4d] Mutex::check_rank(Thread*)+0x29d
I will have a closer look and get back to you again. It seems that your test revealed an existing bug.
Please do not sponsor this PR, yet!
-------------
PR: https://git.openjdk.java.net/jdk/pull/6364
More information about the hotspot-compiler-dev
mailing list