JDK-6680418 : jck60010 fails from stack overflow in VM due to deep recursion.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-03-26
  • Updated: 2010-05-09
  • Resolved: 2008-10-08
Related Reports
Duplicate :  
Description
The nightly test nsk/stress/jck60/jck60010 fails from stack overflow in the
VM.  Part of the stack has recursive calls to objArrayKlass::array_klass_impl as
below.  Additionally there are recursive calls to objArrayKlass::compute_modifier_flags()
(sorry don't have that part of the stack).  This happens on amd64 and may be
because of large physical memory leading to large heaps (ergonomically 
selected).  The failure can be worked around with a larger thread stack size.

  [406] objArrayKlass::array_klass_impl(this_oop = CLASS, or_null = false, n = 0xff, __the_thread__ = 0x6c8800), line 198 in "objArrayKlass.cpp"
  [407] objArrayKlass::array_klass_impl(this = 0xfffffd7f7b6f98c0, or_null = false, n = 0xff, __the_thread__ = 0x6c8800), line 155 in "objArrayKlass.cpp"
  [408] objArrayKlass::array_klass_impl(this_oop = CLASS, or_null = false, n = 0xff, __the_thread__ = 0x6c8800), line 198 in "objArrayKlass.cpp"
  [409] objArrayKlass::array_klass_impl(this = 0xfffffd7f7b6576d8, or_null = false, n = 0xff, __the_thread__ = 0x6c8800), line 155 in "objArrayKlass.cpp"
  [410] objArrayKlass::array_klass_impl(this_oop = CLASS, or_null = false, n = 0xff, __the_thread__ = 0x6c8800), line 198 in "objArrayKlass.cpp"
  [411] objArrayKlass::array_klass_impl(this = 0xfffffd7f7b6566f0, or_null = false, n = 0xff, __the_thread__ = 0x6c8800), line 155 in "objArrayKlass.cpp"
  [412] typeArrayKlass::array_klass_impl(h_this = CLASS, or_null = ???, n = ???, __the_thread__ = ???) (optimized), at 0xfffffd7ffe06cb0b (line ~177) in "typeArrayKlass.cpp"
  [413] typeArrayKlass::array_klass_impl(this = ???, or_null = ???, n = ???, __the_thread__ = ???) (optimized), at 0xfffffd7ffe06b182 (line ~140) in "typeArrayKlass.cpp"
  [414] SystemDictionary::resolve_array_class_or_null(class_name = CLASS, class_loader = CLASS, protection_domain = CLASS, __the_thread__ = ???) (optimized), at 0xfffffd7ffdfca77e (line ~248) in "systemDictionary.cpp"

Comments
EVALUATION This is the same as 6700107 (fix verified for this test case).
08-10-2008