Skip navigation links
A C D E G I J L N O R S V W 

A

AbstractSpy() - Constructor for class java.arthas.SpyAPI.AbstractSpy
 
addThread(Thread) - Method in class one.profiler.AsyncProfiler
Add the given thread to the set of profiled threads
ALLOC - Static variable in class one.profiler.Events
 
AsyncProfiler - Class in one.profiler
Java API for in-process profiling.
AsyncProfilerMXBean - Interface in one.profiler
AsyncProfiler interface for JMX server.
atAfterInvoke(Class<?>, String, Object) - Method in class java.arthas.SpyAPI.AbstractSpy
 
atAfterInvoke(Class<?>, String, Object) - Static method in class java.arthas.SpyAPI
 
atBeforeInvoke(Class<?>, String, Object) - Method in class java.arthas.SpyAPI.AbstractSpy
 
atBeforeInvoke(Class<?>, String, Object) - Static method in class java.arthas.SpyAPI
 
atEnter(Class<?>, String, Object, Object[]) - Method in class java.arthas.SpyAPI.AbstractSpy
 
atEnter(Class<?>, String, Object, Object[]) - Static method in class java.arthas.SpyAPI
 
atExceptionExit(Class<?>, String, Object, Object[], Throwable) - Method in class java.arthas.SpyAPI.AbstractSpy
 
atExceptionExit(Class<?>, String, Object, Object[], Throwable) - Static method in class java.arthas.SpyAPI
 
atExit(Class<?>, String, Object, Object[], Object) - Method in class java.arthas.SpyAPI.AbstractSpy
 
atExit(Class<?>, String, Object, Object[], Object) - Static method in class java.arthas.SpyAPI
 
atInvokeException(Class<?>, String, Object, Throwable) - Method in class java.arthas.SpyAPI.AbstractSpy
 
atInvokeException(Class<?>, String, Object, Throwable) - Static method in class java.arthas.SpyAPI
 

C

Counter - Enum in one.profiler
Which metrics to use when generating profile in collapsed stack traces format.
CPU - Static variable in class one.profiler.Events
 

D

destroy() - Static method in class java.arthas.SpyAPI
 
dumpCollapsed(Counter) - Method in class one.profiler.AsyncProfiler
Dump profile in 'collapsed stacktraces' format
dumpCollapsed(Counter) - Method in interface one.profiler.AsyncProfilerMXBean
 
dumpFlat(int) - Method in class one.profiler.AsyncProfiler
Dump flat profile, i.e.
dumpFlat(int) - Method in interface one.profiler.AsyncProfilerMXBean
 
dumpTraces(int) - Method in class one.profiler.AsyncProfiler
Dump collected stack traces
dumpTraces(int) - Method in interface one.profiler.AsyncProfilerMXBean
 

E

Events - Class in one.profiler
Predefined event names to use in AsyncProfiler.start(String, long)
Events() - Constructor for class one.profiler.Events
 
execute(String) - Method in class one.profiler.AsyncProfiler
Execute an agent-compatible profiling command - the comma-separated list of arguments described in arguments.cpp
execute(String) - Method in interface one.profiler.AsyncProfilerMXBean
 

G

getInstance() - Static method in class one.profiler.AsyncProfiler
 
getInstance(String) - Static method in class one.profiler.AsyncProfiler
 
getSamples() - Method in class one.profiler.AsyncProfiler
Get the number of samples collected during the profiling session
getSamples() - Method in interface one.profiler.AsyncProfilerMXBean
 
getSpy() - Static method in class java.arthas.SpyAPI
 
getVersion() - Method in class one.profiler.AsyncProfiler
Get profiler agent version, e.g.
getVersion() - Method in interface one.profiler.AsyncProfilerMXBean
 

I

init() - Static method in class java.arthas.SpyAPI
 
INITED - Static variable in class java.arthas.SpyAPI
 
isInited() - Static method in class java.arthas.SpyAPI
 
isNopSpy() - Static method in class java.arthas.SpyAPI
 
ITIMER - Static variable in class one.profiler.Events
 

J

java.arthas - package java.arthas
 

L

LOCK - Static variable in class one.profiler.Events
 

N

NOPSPY - Static variable in class java.arthas.SpyAPI
 

O

one.profiler - package one.profiler
from https://github.com/jvm-profiling-tools/async-profiler

R

removeThread(Thread) - Method in class one.profiler.AsyncProfiler
Remove the given thread from the set of profiled threads
resume(String, long) - Method in class one.profiler.AsyncProfiler
Start or resume profiling without resetting collected data.
resume(String, long) - Method in interface one.profiler.AsyncProfilerMXBean
 

S

setNopSpy() - Static method in class java.arthas.SpyAPI
 
setSpy(SpyAPI.AbstractSpy) - Static method in class java.arthas.SpyAPI
 
SpyAPI - Class in java.arthas
一个adviceId 是什么呢? 就是一个trace/monitor/watch命令能对应上的一个id,比如一个类某个函数,它的 enter/end/exception 统一是一个id,分配完了就不会再分配。 同样一个method,如果它trace之后,也会有一个 adviceId, 这个method里的所有invoke都是统一处理,认为是一个 adviceId 。 但如果有匹配到不同的 invoke的怎么分配?? 好像有点难了。。 其实就是把所有可以插入的地方都分类好,那么怎么分类呢?? 或者是叫同一种匹配,就是同一种的 adviceId? 比如入参是有 class , method ,是固定的 , 某个行号,或者 某个 aop插入的叫 adviceId , command插入的叫 ListenerId?
SpyAPI() - Constructor for class java.arthas.SpyAPI
 
SpyAPI.AbstractSpy - Class in java.arthas
 
start(String, long) - Method in class one.profiler.AsyncProfiler
Start profiling
start(String, long) - Method in interface one.profiler.AsyncProfilerMXBean
 
stop() - Method in class one.profiler.AsyncProfiler
Stop profiling (without dumping results)
stop() - Method in interface one.profiler.AsyncProfilerMXBean
 

V

valueOf(String) - Static method in enum one.profiler.Counter
Returns the enum constant of this type with the specified name.
values() - Static method in enum one.profiler.Counter
Returns an array containing the constants of this enum type, in the order they are declared.

W

WALL - Static variable in class one.profiler.Events
 
A C D E G I J L N O R S V W 
Skip navigation links

Copyright © 2020. All rights reserved.