diff options
author | Alex Light <allight@google.com> | 2017-10-16 10:59:26 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-10-16 13:39:49 -0700 |
commit | 5b80358a9da889cd2ecf18eb49aa42efa409e582 (patch) | |
tree | 71c5fce7e27b9dbd74bd7fd2b62e0633938973ee /compiler/optimizing/codegen_test_utils.h | |
parent | 445e0ec3724b7f4f36bbd218f67a2c9bfbea7669 (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