mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8202081: Introduce CollectedHeap::is_oop()
Reviewed-by: eosterlund, rkennke
This commit is contained in:
parent
0bf983846e
commit
04e986f200
3 changed files with 21 additions and 4 deletions
|
@ -591,6 +591,8 @@ class CollectedHeap : public CHeapObj<mtInternal> {
|
|||
virtual oop pin_object(JavaThread* thread, oop obj);
|
||||
virtual void unpin_object(JavaThread* thread, oop obj);
|
||||
|
||||
virtual bool is_oop(oop object) const;
|
||||
|
||||
// Non product verification and debugging.
|
||||
#ifndef PRODUCT
|
||||
// Support for PromotionFailureALot. Return true if it's time to cause a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue