In the internal project we are experiencing problems when starting the IBM JVM due to the re-transformation of all loaded classes. The JVM never gets up. In addition, reported that re-transformation and IBM are not good friends and that inlining would be disabled if classes are re-transformed. We will disable re-transformation on the IBM JVM by default and allow user to override this with environment setting.
We need to to following:
Add environment setting "Disable re-transformation on IBM JVM" and make it true by default
In the JavaAgent instrumenting of loaded classes is done old style (re-definition) if JVM is IBM and disable flag is on
Re-transform manager does ignore the dynamic instrumentation requests if JVM is IBM and disable flag is on