8202081: Introduce CollectedHeap::is_oop()

Reviewed-by: eosterlund, rkennke
This commit is contained in:
Stefan Karlsson 2018-04-23 11:25:53 +02:00
parent 0bf983846e
commit 04e986f200
3 changed files with 21 additions and 4 deletions

View file

@ -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