Java Code Examples for jdk.jfr.consumer.RecordedMethod#getName()
The following examples show how to use
jdk.jfr.consumer.RecordedMethod#getName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestRecordedMethodDescriptor.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
private static void analyzeRecordedMethodDescriptor(RecordedMethod method) { String descr = method.getDescriptor(); assertNotNull(descr, "Method descriptor is null"); String name = method.getName(); assertNotNull(name, "Method name is null"); if (name.equals(MAIN_METHOD_NAME) && descr.equals(MAIN_METHOD_DESCRIPTOR)) { assertFalse(isMainMethodDescriptorRecorded, "main() method descriptor already recorded"); isMainMethodDescriptorRecorded = true; } }
Example 2
Source File: TestRecordedMethodDescriptor.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static void analyzeRecordedMethodDescriptor(RecordedMethod method) { String descr = method.getDescriptor(); assertNotNull(descr, "Method descriptor is null"); String name = method.getName(); assertNotNull(name, "Method name is null"); if (name.equals(MAIN_METHOD_NAME) && descr.equals(MAIN_METHOD_DESCRIPTOR)) { assertFalse(isMainMethodDescriptorRecorded, "main() method descriptor already recorded"); isMainMethodDescriptorRecorded = true; } }
Example 3
Source File: TestRecordedMethodDescriptor.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static void analyzeRecordedMethodDescriptor(RecordedMethod method) { String descr = method.getDescriptor(); assertNotNull(descr, "Method descriptor is null"); String name = method.getName(); assertNotNull(name, "Method name is null"); if (name.equals(MAIN_METHOD_NAME) && descr.equals(MAIN_METHOD_DESCRIPTOR)) { assertFalse(isMainMethodDescriptorRecorded, "main() method descriptor already recorded"); isMainMethodDescriptorRecorded = true; } }
Example 4
Source File: AllocationStackTrace.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 5
Source File: OldObjects.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 6
Source File: AllocationStackTrace.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 7
Source File: OldObjects.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 8
Source File: AllocationStackTrace.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 9
Source File: OldObjects.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 10
Source File: AllocationStackTrace.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }
Example 11
Source File: OldObjects.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private static String frameToString(RecordedFrame f) { RecordedMethod m = f.getMethod(); String methodName = m.getName(); String className = m.getType().getName(); return className + "." + methodName; }