diff options
author | 2015-09-02 16:16:58 -0700 | |
---|---|---|
committer | 2015-09-03 10:45:21 -0700 | |
commit | fdbd13c7af91a042eda753e436eeebf0e1937250 (patch) | |
tree | c1fb370c9a4a30b9e589802c9c75dcc4919fc6e9 /runtime/java_vm_ext.h | |
parent | fe3879e6011f629d0dd6b04fab00b9496bd4ea08 (diff) |
Some fixes for the CC collector.
- Remove a DCHECK in DisableMarkingCheckpoint, which caused
occasional (false) failures.
- Check the thread-local GetWeakRefAccessEnabled in boxed lambdas weak
access.
- Add missing BroadcastForNewAllocationRecords and
BroadcastForNewWeakBoxedLambdas. The lack of the former caused
occasional deadlocks in the ddmc test.
- Remove the 'ensure system weaks disallowed' calls, which weren't
useful and dead.
Bug: 12687968
Change-Id: I33850c8d12e6e1a3aed1c2bb18eba263cbab76e8
Diffstat (limited to 'runtime/java_vm_ext.h')
-rw-r--r-- | runtime/java_vm_ext.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/java_vm_ext.h b/runtime/java_vm_ext.h index d68a85f230..87430c800b 100644 --- a/runtime/java_vm_ext.h +++ b/runtime/java_vm_ext.h @@ -108,8 +108,6 @@ class JavaVMExt : public JavaVM { void DisallowNewWeakGlobals() SHARED_REQUIRES(Locks::mutator_lock_) REQUIRES(!weak_globals_lock_); void AllowNewWeakGlobals() SHARED_REQUIRES(Locks::mutator_lock_) REQUIRES(!weak_globals_lock_); - void EnsureNewWeakGlobalsDisallowed() SHARED_REQUIRES(Locks::mutator_lock_) - REQUIRES(!weak_globals_lock_); void BroadcastForNewWeakGlobals() SHARED_REQUIRES(Locks::mutator_lock_) REQUIRES(!weak_globals_lock_); |