diff options
| author | 2015-05-03 22:26:22 +0000 | |
|---|---|---|
| committer | 2015-05-03 22:26:23 +0000 | |
| commit | 8a30bf23bcb1ad8d4ed9060ddbb27edbfd57a897 (patch) | |
| tree | 0b4093afe3f71d89b22f6ba927ad05946fb33910 /runtime/gc/reference_processor.h | |
| parent | 25dcb2594a21a565ef82faa66a79bcf595c3a780 (diff) | |
| parent | 3130cdf29eb203be0c38d1107a65d920ec39c106 (diff) | |
Merge "Add some more DISALLOW_COPY_AND_ASSIGN"
Diffstat (limited to 'runtime/gc/reference_processor.h')
| -rw-r--r-- | runtime/gc/reference_processor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/gc/reference_processor.h b/runtime/gc/reference_processor.h index c67fd98034..a44319ba5a 100644 --- a/runtime/gc/reference_processor.h +++ b/runtime/gc/reference_processor.h @@ -81,6 +81,9 @@ class ReferenceProcessor { IsHeapReferenceMarkedCallback* is_marked_callback_; MarkObjectCallback* mark_callback_; void* arg_; + + private: + DISALLOW_IMPLICIT_CONSTRUCTORS(ProcessReferencesArgs); }; bool SlowPathEnabled() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); // Called by ProcessReferences. @@ -105,6 +108,8 @@ class ReferenceProcessor { ReferenceQueue finalizer_reference_queue_; ReferenceQueue phantom_reference_queue_; ReferenceQueue cleared_references_; + + DISALLOW_COPY_AND_ASSIGN(ReferenceProcessor); }; } // namespace gc |