summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-08-30 12:50:46 -0700
committerAlex Light <allight@google.com>2018-08-31 16:07:01 +0000
commit95c9ef930171cba93a82418ef7647f5965da40eb (patch)
tree3f2b25e7a37e9869313ad02b907df206eece9ca7 /compiler/optimizing/graph_visualizer.cc
parentbbbcb535a9116b87c73f9fbdb74d6cfd74d8c026 (diff)
Add fieldnull tool
The fieldnull tool uses jvmti to allow one to examine which portion of a fields values are null on a running process. This can be used to determine if changing the layout or implementation of a class would be appropriate when the data is optional. Bug: 32635074 Test: ./test/run-test --debuggable \ --host \ --dev \ --with-agent 'libfieldnull.so=Ljava/lang/Class;.name:Ljava/lang/String;' \ 001-HelloWorld Test: am start-activity \ -S \ --attach-agent '/data/local/tmp/libfieldnull.so=Ljava/lang/Class;.name:Ljava/lang/String;' \ com.antonioleiva.bandhookkotlin/.ui.screens.main.mainactivity; kill -3 $(pidof com.antonioleiva.bandhookkotlin) Change-Id: If64a9720d97625761556d78e881662f84953115f
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions