summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-10-16 10:59:26 -0700
committerAlex Light <allight@google.com>2017-10-16 13:39:49 -0700
commit5b80358a9da889cd2ecf18eb49aa42efa409e582 (patch)
tree71c5fce7e27b9dbd74bd7fd2b62e0633938973ee /compiler/optimizing/codegen_test_utils.h
parent445e0ec3724b7f4f36bbd218f67a2c9bfbea7669 (diff)
Don't dlclose plugins or agents during shutdown.
We were dlclosing agents and the JVMTI plugin during shutdown but it seems that some agents assume that their code will remain loaded even after the Agent_OnUnload function returns. This caused segfaults during shutdown in some situations. Since the runtime is shutting down anyway there is not much to lose by just not unloading these agents and the plugins they depend on. Test: stress --cpu 60 Test: ./art/tools/run-prebuilt-libjdwp-tests.sh \ --debug \ --test org.apache.harmony.jpda.tests.jdwp.Events.CombinedEventsTest#testCombinedEvents_05 Bug: 67497270 Bug: 67855829 Change-Id: Ib988c0d21bd12d40f33d709e633312eb68021b38
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions