commit | 6a0e0b242a1ff47bc9b722a9c130462733b83f05 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Apr 12 16:13:33 2017 -0700 |
committer | Alex Light <allight@google.com> | Thu Apr 13 09:06:57 2017 -0700 |
tree | 7b3e28bdbef2b99da2dc6d8103e18d20ede69622 | |
parent | 7bf7dc6cb2782667518e520bac3c0635fb6e2e0f [diff] |
Ensure one can call DisposeEnvironment during event callbacks. Previously calling DisposeEnvironment during an event callback would cause a currently in-use iterator to be invalidated. This could cause undefined behavior. Bug: 37283252 Test: ./test/testrunner/testrunner.py --host --jvmti-stress -j40 Change-Id: I49c02b925f0da5d4f66965f0fca21bf8dc83132a (cherry picked from commit bb766464bced8ca7db9cdaf635ae04759151a088)