On Wed, 25 Nov 2020 18:40:49 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:
> The ServiceThread cleaning used a stale ObjectFree state when calling > remove_dead_entries, because another thread had concurrently set is_enabled > to false. Add a lock around setting/resetting the lock event state and > retest the state under a lock. Ran the test 100s of time without failure, > where otherwise it fails very quickly. > Tested with tier2,3 and running tiers 4,5,6 in progress. > Thanks to Kim for his previous feedback. This pull request has now been integrated. Changeset: 3a11009d Author: Coleen Phillimore <cole...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/3a11009d Stats: 20 lines in 3 files changed: 17 ins; 1 del; 2 mod 8256830: misc tests failed with "assert(env->is_enabled(JVMTI_EVENT_OBJECT_FREE)) failed: checking" Reviewed-by: kbarrett, sspitsyn, dholmes ------------- PR: https://git.openjdk.java.net/jdk/pull/1439