5#ifndef INCLUDE_CPPGC_HEAP_HANDLE_H_
6#define INCLUDE_CPPGC_HEAP_HANDLE_H_
14class WriteBarrierTypeForCagedHeapPolicy;
15class WriteBarrierTypeForNonCagedHeapPolicy;
19
20
28 HeapHandle() =
default;
30 V8_INLINE bool is_incremental_marking_in_progress()
const {
31 return is_incremental_marking_in_progress_;
34 V8_INLINE bool is_young_generation_enabled()
const {
35 return is_young_generation_enabled_;
38 bool is_incremental_marking_in_progress_ =
false;
39 bool is_young_generation_enabled_ =
false;
42 friend class internal::WriteBarrierTypeForCagedHeapPolicy;
43 friend class internal::WriteBarrierTypeForNonCagedHeapPolicy;
HeapHandle & operator=(const HeapHandle &)=delete
HeapHandle(const HeapHandle &)=delete