// Copyright 2023 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_HEAP_OBJECT_LOCK_H_ #define V8_HEAP_OBJECT_LOCK_H_ #include "src/heap/mutable-page-metadata.h" #include "src/objects/heap-object.h" namespace v8::internal { class ExclusiveObjectLock final { … }; class SharedObjectLock final { … }; template <typename LockType> class ObjectLockGuard final { … }; ExclusiveObjectLockGuard; SharedObjectLockGuard; } // namespace v8::internal #endif // V8_HEAP_OBJECT_LOCK_H_