Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6680418

jck60010 fails from stack overflow in VM due to deep recursion.

XMLWordPrintable

    • generic
    • generic

      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"

            Unassigned Unassigned
            jmasa Jon Masamitsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: