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

SA: CLHSDB "universe" command error: unknown subtype of CollectedHeap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 9
    • hotspot

      After attaching to a java process, the clhsdb "universe" command gives the following error: "unknown subtype of CollectedHeap"

      sudo /home/jini/js/hs/build/linux-x86_64-normal-server-slowdebug/jdk/bin/jhsdb clhsdb --pid 5107
      Attaching to process 5107, please wait...
      javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
      javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54
      Warning! JS Engine can't start, some commands will not be available.
      hsdb> universe
      Heap Parameters:
      unknown subtype of CollectedHeap @ 0x00007fdfa002ca10 (0x00000000a2a00000,0x0000000100000000)

      The java process was not started with any special flags.

            jgeorge Jini George (Inactive)
            jgeorge Jini George (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: