On 09/22/2017 07:02 PM, Dmitry Vyazelenko wrote: > Works as described when -Djdk.attach.allowAttachSelf property is set. Why can't it be set by JOL > automatically in the same way as --add-modules/--add-exports is done? Those are set for *forked* VM. We need to get Instrumentation instance in *current* VM. Too late to specify options :) -Aleksey