JDK-7150390 : JFR test crashed on assert(_jni_lock_count == count) failed: must be equal
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_10
  • CPU: generic,x86
  • Submitted: 2012-03-02
  • Updated: 2013-06-26
  • Resolved: 2012-03-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u4Fixed 8Fixed hs23Fixed
Related Reports
Relates :  
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 http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/541c4a5e7b88
22-03-2012

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

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

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.
05-03-2012