Searched refs:instrumentation (Results 1 - 25 of 46) sorted by relevance

12

/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/debug/instrumentation/
H A DInstrumentationInliningCallback.java23 package org.graalvm.compiler.nodes.debug.instrumentation;
28 * instrumentation.
32 void preInlineInstrumentation(InstrumentationNode instrumentation); argument
34 void postInlineInstrumentation(InstrumentationNode instrumentation); argument
H A DIsMethodInlinedNode.java23 package org.graalvm.compiler.nodes.debug.instrumentation;
82 public void preInlineInstrumentation(InstrumentationNode instrumentation) { argument
83 // This node will be further merged back to instrumentation.graph(). We care about if this
84 // node originates from instrumentation.graph().
85 resolve(instrumentation.graph());
89 public void postInlineInstrumentation(InstrumentationNode instrumentation) { argument
H A DRootNameNode.java23 package org.graalvm.compiler.nodes.debug.instrumentation;
73 public void preInlineInstrumentation(InstrumentationNode instrumentation) { argument
75 resolve(instrumentation.graph());
79 public void postInlineInstrumentation(InstrumentationNode instrumentation) { argument
H A DInstrumentationEndNode.java23 package org.graalvm.compiler.nodes.debug.instrumentation;
36 * The {@code InstrumentationEndNode} represents the boundary of the instrumentation.
/openjdk9/hotspot/test/serviceability/jvmti/
H A DGetObjectSizeOverflowAgent.java27 static Instrumentation instrumentation; field in class:GetObjectSizeOverflowAgent
29 public static void premain(String agentArgs, Instrumentation instrumentation) { argument
30 GetObjectSizeOverflowAgent.instrumentation = instrumentation;
35 long size = instrumentation.getObjectSize(a);
H A DGetObjectSizeClassAgent.java27 static Instrumentation instrumentation; field in class:GetObjectSizeClassAgent
29 public static void premain(String agentArgs, Instrumentation instrumentation) { argument
30 GetObjectSizeClassAgent.instrumentation = instrumentation;
34 long sizeA = instrumentation.getObjectSize(A.class);
35 long sizeB = instrumentation.getObjectSize(B.class);
H A DTestLambdaFormRetransformation.java101 public static void premain(String args, Instrumentation instrumentation) { argument
102 if (!instrumentation.isRetransformClassesSupported()) {
112 instrumentation.addTransformer(new Agent());
114 for (Class c : instrumentation.getAllLoadedClasses()) {
116 instrumentation.isModifiableClass(c)) {
119 instrumentation.retransformClasses(c);
/openjdk9/jdk/test/java/lang/instrument/
H A DRedefineMethodAddInvokeAgent.java27 private static Instrumentation instrumentation; field in class:RedefineMethodAddInvokeAgent
37 instrumentation = inst;
41 return instrumentation;
H A DRedefineMethodInBacktraceAgent.java27 private static Instrumentation instrumentation; field in class:RedefineMethodInBacktraceAgent
36 instrumentation = inst;
40 return instrumentation;
H A DRedefineMethodWithAnnotationsAgent.java27 private static Instrumentation instrumentation; field in class:RedefineMethodWithAnnotationsAgent
36 instrumentation = inst;
40 return instrumentation;
H A DRedefineMethodDelInvokeAgent.java27 private static Instrumentation instrumentation; field in class:RedefineMethodDelInvokeAgent
37 instrumentation = inst;
41 return instrumentation;
H A DRedefineSubclassWithTwoInterfacesAgent.java27 private static Instrumentation instrumentation; field in class:RedefineSubclassWithTwoInterfacesAgent
38 instrumentation = inst;
42 return instrumentation;
H A DManyMethodsBenchmarkAgent.java43 private static Instrumentation instrumentation; field in class:ManyMethodsBenchmarkAgent
47 Instrumentation instrumentation) {
49 ManyMethodsBenchmarkAgent.instrumentation = instrumentation;
56 Class[] allClasses = instrumentation.getAllLoadedClasses();
67 instrumentation.retransformClasses(klass);
46 premain( String agentArgs, Instrumentation instrumentation) argument
H A DIsModifiableClassAgent.java43 Instrumentation instrumentation)
47 Class[] allClasses = instrumentation.getAllLoadedClasses();
54 boolean isMod = instrumentation.isModifiableClass(klass);
64 instrumentation.retransformClasses(klass);
42 premain( String agentArgs, Instrumentation instrumentation) argument
H A DManifestTestAgent.java27 private static Instrumentation instrumentation; field in class:ManifestTestAgent
H A DParallelTransformerLoaderAgent.java54 Instrumentation instrumentation)
67 instrumentation.addTransformer(new TestTransformer());
53 premain( String agentArgs, Instrumentation instrumentation) argument
/openjdk9/hotspot/test/serviceability/dcmd/jvmti/
H A DSimpleJvmtiAgent.java26 public static void agentmain(String agentArgs, Instrumentation instrumentation) { argument
/openjdk9/hotspot/test/runtime/RedefineObject/
H A DAgent.java37 public static void redefine(String agentArgs, Instrumentation instrumentation, Class to_redefine) { argument
40 instrumentation.retransformClasses(to_redefine);
47 public static void premain(String agentArgs, Instrumentation instrumentation) { argument
49 instrumentation.addTransformer(transformer, true);
54 redefine(agentArgs, instrumentation, object_class);
57 redefine(agentArgs, instrumentation, method_class);
60 redefine(agentArgs, instrumentation, loader_class);
62 instrumentation.removeTransformer(transformer);
/openjdk9/test/lib/
H A DRedefineClassHelper.java37 public static Instrumentation instrumentation; field in class:RedefineClassHelper
39 instrumentation = inst;
60 instrumentation.redefineClasses(new ClassDefinition(clazz, bytecode));
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/instrumentation/
H A DMidTierReconcileInstrumentationPhase.java23 package org.graalvm.compiler.phases.common.instrumentation;
27 import org.graalvm.compiler.nodes.debug.instrumentation.InstrumentationNode;
28 import org.graalvm.compiler.nodes.debug.instrumentation.MonitorProxyNode;
51 // instrumentation
H A DExtractInstrumentationPhase.java23 package org.graalvm.compiler.phases.common.instrumentation;
49 import org.graalvm.compiler.nodes.debug.instrumentation.InstrumentationBeginNode;
50 import org.graalvm.compiler.nodes.debug.instrumentation.InstrumentationEndNode;
51 import org.graalvm.compiler.nodes.debug.instrumentation.InstrumentationNode;
59 * The {@code ExtractInstrumentationPhase} extracts the instrumentation (whose boundary are
61 * {@link InstrumentationNode} in the graph to take place of the instrumentation.
68 Instrumentation instrumentation = new Instrumentation(begin);
70 // we create InstrumentationNode when the instrumentation is anchored (when 0 is
71 // passed to instrumentationBegin), or when the instrumentation is associated with
81 StructuredGraph instrumentationGraph = instrumentation
[all...]
/openjdk9/hotspot/test/compiler/profiling/spectrapredefineclass_classloaders/
H A DAgent.java106 public static void redefine(String agentArgs, Instrumentation instrumentation, Class to_redefine) { argument
109 instrumentation.retransformClasses(to_redefine);
116 public static void agentmain(String agentArgs, Instrumentation instrumentation) throws Exception { argument
118 instrumentation.addTransformer(transformer, true);
120 redefine(agentArgs, instrumentation, Test_class);
/openjdk9/hotspot/test/compiler/profiling/spectrapredefineclass/
H A DAgent.java121 public static void redefine(String agentArgs, Instrumentation instrumentation, Class to_redefine) { argument
124 instrumentation.retransformClasses(to_redefine);
131 public static void agentmain(String agentArgs, Instrumentation instrumentation) throws Exception { argument
133 instrumentation.addTransformer(transformer, true);
135 redefine(agentArgs, instrumentation, Test.class);
/openjdk9/jdk/test/java/lang/instrument/CustomSystemLoader/
H A DAgent.java43 public static void premain(String agentArgs, Instrumentation instrumentation) { argument
/openjdk9/hotspot/test/testlibrary/jvmti/
H A DTransformerAgent.java46 public static void premain(String agentArguments, Instrumentation instrumentation) { argument
49 instrumentation.addTransformer(new SimpleTransformer(), /*canRetransform=*/true);

Completed in 277 milliseconds

12