-XX:[+|-]ShowHiddenFrames

This reimplementation of the Oracle HotSpot diagonostic option enables or disables the display of generated hidden MethodHandle frames in a stack trace.

This option doesn't affect the contents of dump files.

Unlike the HotSpot implementation, this option doesn't require the +UnlockDiagnosticVMOptions option.

Syntax

    -XX:[+|-]ShowHiddenFrames
Setting Effect Default
-XX:+ShowHiddenFrames Enable
-XX:-ShowHiddenFrames Disable yes
When disabled, this option causes the VM to hide generated hidden MethodHandle frames in a stacktrace.