United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7150390 JFR test crashed on assert(_jni_lock_count == count) failed: must be equal
JDK-7150390 : JFR test crashed on assert(_jni_lock_count == count) failed: must be equal

Details
Type:
Bug
Submit Date:
2012-03-02
Status:
Closed
Updated Date:
2013-05-27
Project Name:
JDK
Resolved Date:
2012-03-24
Component:
hotspot
OS:
generic,solaris_10
Sub-Component:
gc
CPU:
x86,generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
hs23 (b18)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
com/sun/jdi/GetLocalVariables2Test.java failed on 
gcLocker.cpp:59
assert(_jni_lock_count == count) failed: must be equal

feeca0b7 _lwp_kill (5, 6) + 7
 fee71df3 raise    (6) + 1f
 fee51c3d abort    (fec3a390, 14503e0f, 0, 0, 50, 0) + cd
 fe077e1c void os::abort(bool) (1, fead05e9, 1, 7d0) + 118
 fe530854 void VMError::report_and_die() (ebafc460, fe8067fc, ebafc558, fd1b6681) + ae0
 fd1b66a6 void report_vm_error(const char*,int,const char*,const char*) (fe806834, 3b, fe80680c, fe8067fc) + 53a
 fd3ad30c void GC_locker::verify_critical_count() (0, c, 0, 0, fec17a13, 0) + fc
 fe26547e void SafepointSynchronize::begin() (1, 806b6fc, 0, feb1538c, feb150e2, 0) + e86
 fe562661 void VMThread::loop() (8244800, 7f, 0, fe561919) + 629
 fe5619c9 void VMThread::run() (8244800, fec67df0, 0, fe074960) + c1
 fe074add java_start (8244800) + 1d1
 feec7045 _thr_setup (fc3e1a00) + 4e
 feec7330 _lwp_start (fc3e1a00, 0, 0, ebafcff8, feec7330, fc3e1a00)

                                    

Comments
EVALUATION

Threads that has been stopped by external suspension are skipping when computing the total jni lock count which is rare cases can lead to incorrect counts.
                                     
2012-03-05
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/541c4a5e7b88
                                     
2012-03-07
EVALUATION

http://hg.openjdk.java.net/hsx/hsx23/hotspot/rev/1425699d00c2
                                     
2012-03-16
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/541c4a5e7b88
                                     
2012-03-22



Hardware and Software, Engineered to Work Together