< prev index next >

src/hotspot/share/gc/shared/collectedHeap.cpp

Print this page




 581 }
 582 
 583 #endif  // #ifndef PRODUCT
 584 
 585 bool CollectedHeap::supports_object_pinning() const {
 586   return false;
 587 }
 588 
 589 oop CollectedHeap::pin_object(JavaThread* thread, oop obj) {
 590   ShouldNotReachHere();
 591   return NULL;
 592 }
 593 
 594 void CollectedHeap::unpin_object(JavaThread* thread, oop obj) {
 595   ShouldNotReachHere();
 596 }
 597 
 598 void CollectedHeap::deduplicate_string(oop str) {
 599   // Do nothing, unless overridden in subclass.
 600 }

















 581 }
 582 
 583 #endif  // #ifndef PRODUCT
 584 
 585 bool CollectedHeap::supports_object_pinning() const {
 586   return false;
 587 }
 588 
 589 oop CollectedHeap::pin_object(JavaThread* thread, oop obj) {
 590   ShouldNotReachHere();
 591   return NULL;
 592 }
 593 
 594 void CollectedHeap::unpin_object(JavaThread* thread, oop obj) {
 595   ShouldNotReachHere();
 596 }
 597 
 598 void CollectedHeap::deduplicate_string(oop str) {
 599   // Do nothing, unless overridden in subclass.
 600 }
 601 
 602 HeapWord* CollectedHeap::tlab_post_allocation_setup(HeapWord* obj) {
 603   return obj;
 604 }
 605 
 606 uint CollectedHeap::oop_extra_words() {
 607   // Default implementation doesn't need extra space for oops.
 608   return 0;
 609 }
 610 
 611 #ifndef CC_INTERP
 612 void CollectedHeap::compile_prepare_oop(MacroAssembler* masm, Register obj) {
 613   // Default implementation does nothing.
 614 }
 615 #endif
< prev index next >