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

assert: "stringStream is re-allocated with a different ResourceMark" w/ -XX:+PrintInlining

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: hs25, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None

      Description

      # Internal Error (/Users/vladimir/ws/hotspot-comp/src/share/vm/utilities/ostream.cpp:326), pid=20751, tid=22019
      # assert(rm == NULL || Thread::current()->current_resource_mark() == rm) failed: stringStream is re-allocated with a different ResourceMark
      #
      # JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-vladimir_2013_10_08_18_34-b00)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b58-internal-debug mixed mode bsd-amd64 compressed oops)

      V [libjvm.dylib+0xe2b6df] VMError::report(outputStream*)+0x1307
      V [libjvm.dylib+0xe2cb9e] VMError::report_and_die()+0x560
      V [libjvm.dylib+0x570697] report_vm_error(char const*, int, char const*, char const*)+0xc7
      V [libjvm.dylib+0xbd9b01] stringStream::write(char const*, unsigned long)+0x13d
      V [libjvm.dylib+0xbdd493] outputStream::print(char const*, ...)+0x1d7
      V [libjvm.dylib+0xd59601] Symbol::print_symbol_on(outputStream*) const+0x77
      V [libjvm.dylib+0xb3032e] Method::print_short_name(outputStream*)+0x80
      V [libjvm.dylib+0x418fff] ciMethod::print_short_name(outputStream*)+0xdf
      V [libjvm.dylib+0x4ef7d1] CompileTask::print_inlining(outputStream*, ciMethod*, int, int, char const*)+0x203
      V [libjvm.dylib+0x3d1559] Compile::print_inlining(ciMethod*, int, int, char const*)+0x79
      V [libjvm.dylib+0x295550] InlineTree::print_inlining(ciMethod*, int, bool) const+0x128
      V [libjvm.dylib+0x29863e] InlineTree::ok_to_inline(ciMethod*, JVMState*, ciCallProfile&, WarmCallInfo*, bool&)+0x6b6
      V [libjvm.dylib+0x622333] Compile::call_generator(ciMethod*, int, bool, JVMState*, bool, float, ciKlass*, bool, bool)+0x99d
      V [libjvm.dylib+0x3cdd68] CallGenerator::for_method_handle_inline(JVMState*, ciMethod*, ciMethod*, bool&)+0x23e
      V [libjvm.dylib+0x3ce84d] CallGenerator::for_method_handle_call(JVMState*, ciMethod*, ciMethod*, bool)+0xe9
      V [libjvm.dylib+0x621fb3] Compile::call_generator(ciMethod*, int, bool, JVMState*, bool, float, ciKlass*, bool, bool)+0x61d
      V [libjvm.dylib+0x6236e4] Parse::do_call()+0x718

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                vlivanov Vladimir Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: