equal
deleted
inserted
replaced
114 |
114 |
115 public static void main(String args[]) throws Throwable { |
115 public static void main(String args[]) throws Throwable { |
116 System.out.println("INFO: AppCDSv1 " + (wb.isSharedClass(InstrumentationApp.class) ? "enabled" :"disabled")); |
116 System.out.println("INFO: AppCDSv1 " + (wb.isSharedClass(InstrumentationApp.class) ? "enabled" :"disabled")); |
117 System.out.println("INFO: AppCDSv2 " + (isAppCDSV2Enabled() ? "enabled" : "disabled")); |
117 System.out.println("INFO: AppCDSv2 " + (isAppCDSV2Enabled() ? "enabled" : "disabled")); |
118 |
118 |
119 File bootJar = new File(args[0]); |
119 String flagFile = args[0]; |
120 File appJar = new File(args[1]); |
120 File bootJar = new File(args[1]); |
121 File custJar = new File(args[2]); |
121 File appJar = new File(args[2]); |
122 String flagFile = args[3]; |
122 File custJar = new File(args[3]); |
123 waitAttach(flagFile); |
123 waitAttach(flagFile); |
124 |
124 |
125 instrumentation = InstrumentationRegisterClassFileTransformer.getInstrumentation(); |
125 instrumentation = InstrumentationRegisterClassFileTransformer.getInstrumentation(); |
126 System.out.println("INFO: instrumentation = " + instrumentation); |
126 System.out.println("INFO: instrumentation = " + instrumentation); |
127 |
127 |