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.
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.
- duplicates
-
JDK-8163581 Heap Parameters in HSDB cannot handle G1CollectedHeap
-
- Resolved
-