JDK-7019000 : JSR292: Crash in oopDesc::size_given_klass() on windows-amd64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs20
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-02-11
  • Updated: 2013-12-11
  • Resolved: 2011-04-06
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
7Resolved
Related Reports
Duplicate :  
Description
There are many bugs filed against crashes in size_given_class(), but I can't tell if this particular crash is an instance of one of those bugs. Please close this bug if this turns out to be a duplicate.

VM crashed in:

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dab1ee4, pid=8788, tid=4040
#
# JRE version: 7.0-b126
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b06 mixed mode windows-amd64 compressed oops)

Stack: [0x00000000056a0000,0x00000000057a0000],  sp=0x000000000579f1d0,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0x21ee4];;  ?size_given_klass@oopDesc@@QEAAHPEAVKlass@@@Z+0x4

VM_Operation (0x000000001dc5f370): GenCollectForAllocation, mode: safepoint, requested by thread 0x000000000823d800

Comments
EVALUATION I just got an assert with loopsAndThreads with a stacktrace that includes oopDesc::size_given_klass which goes back to DefNewGeneration::copy_to_survivor_space. This is very likely a duplicate of 7018355, so I'm closing it. #5 0xf69d8dcc in report_vm_error (file=0xf6ecd6b4 "/home/ct232829/hotspot-comp/7018355/src/share/vm/oops/klass.hpp", line=439, error_msg=0xf6ecd774 "assert(l2esz <= LogBitsPerLong) failed", detail_msg=0xf6ecd730 "sanity") at /home/ct232829/hotspot-comp/7018355/src/share/vm/utilities/debug.cpp:216 #6 0xf67cec4f in Klass::layout_helper_log2_element_size(int) (size=4016048992, name=0xaee767e8 "\bh\347\256\377\360|\366 \031w\260\070\353`\357\360\360|\366 \031w\260") at /home/ct232829/hotspot-comp/7018355/src/share/vm/memory/allocation.inline.hpp:60 #7 0xf67cef24 in oopDesc::size_given_klass(Klass*) (size=2960595232, name=0xef60eb38 "`\252`\357`\v`\357\020\347i\357\350\003") at /home/ct232829/hotspot-comp/7018355/src/share/vm/memory/allocation.inline.hpp:60 #8 0xf67cf0ff in oopDesc::size() (size=2960595232, name=0xaee76838 "hh��\026\236\366\350j[\t \031w\260\020y[\t \031w\260p)u\t \031w\260 \031w\260\331��\366Dj\347\256h\215\026\367\210h\347\256\314��\366\240l\347\256@\317", <incomplete sequence \352\255>) at /home/ct232829/hotspot-comp/7018355/src/share/vm/memory/allocation.inline.hpp:60 #9 0xf69dfa18 in DefNewGeneration::copy_to_survivor_space (this=0x95b6ae8, old=0xb0771920) at /home/ct232829/hotspot-comp/7018355/src/share/vm/memory/defNewGeneration.cpp:723
06-04-2011