summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2018-02-06 15:30:13 -0800
committerAlex Light <allight@google.com>2018-02-06 15:39:28 -0800
commit123aeb716563d0783c73f309c3afef6dfd8f8b9e (patch)
tree3501e34c54fab3e20bcfd8c937b8d1af6ed762a4 /compiler/optimizing/graph_visualizer.cc
parentedbe4cca764412f7aed425e903f4a07e0b4e993e (diff)
Prevent UAF issues caused by static destructors
Agents calling exit(3) would cause static destructors to run on several openjdkjvmti data-structures. This caused problems as other threads could still be running and might hit UAF issues, causing errors. We fix this by making sure that no important jvmti data-structures are statically allocated. Since these data-structures must be live for the whole program runtime this is not a big issue. Bug: 69591477 Test: ./test.py --host -j50 Test: while ./test/run-test --host 1944; do; done Test: ./art/tools/run-libjdwp-tests.sh --mode=host --test \ org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ExitTest.testExit001 Change-Id: I25b01fc129d46c5f15bce1b9ec7952d29088a5a2
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions