In addition to my previous comment on viewing FERRARI and MAJOR I want to say a few things:
- Both tools are only available as compiled Java JAR archives.
- , , , . , .
- , FERRARI , , , , .
, ( ) , :
- JDK.
BootstrapLock, .- + rt.jar.
- Java-, .
public class BootstrapLock {
private static volatile boolean inBootstrap = true;
public static boolean inBootstrap() {
return inBootstrap;
}
public static synchronized void setEndOfBS() {
inBootstrap = false;
}
}
public class DummyAgent {
public static void premain(String options, Instrumentation ins) {
BootstrapLock.setEndOfBS();
}
}
, :
- , .
- , , , , .
- ,
inBootstrap. - , , .
, , , , , , , , , , . ...
: FERRARI . java- JVM, . , , , JVM. , , . .