Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8253516: ZGC: Remove card table functions
Reviewed-by: tschatzl, eosterlund
  • Loading branch information
stefank committed Sep 23, 2020
1 parent 3fe5886 commit e4d0e5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
16 changes: 0 additions & 16 deletions src/hotspot/share/gc/z/zCollectedHeap.cpp
Expand Up @@ -225,22 +225,6 @@ size_t ZCollectedHeap::unsafe_max_tlab_alloc(Thread* ignored) const {
return _heap.unsafe_max_tlab_alloc();
}

bool ZCollectedHeap::can_elide_tlab_store_barriers() const {
return false;
}

bool ZCollectedHeap::can_elide_initializing_store_barrier(oop new_obj) {
// Not supported
ShouldNotReachHere();
return true;
}

bool ZCollectedHeap::card_mark_must_follow_store() const {
// Not supported
ShouldNotReachHere();
return false;
}

GrowableArray<GCMemoryManager*> ZCollectedHeap::memory_managers() {
return GrowableArray<GCMemoryManager*>(1, 1, _heap.serviceability_memory_manager());
}
Expand Down
4 changes: 0 additions & 4 deletions src/hotspot/share/gc/z/zCollectedHeap.hpp
Expand Up @@ -89,10 +89,6 @@ class ZCollectedHeap : public CollectedHeap {
virtual size_t max_tlab_size() const;
virtual size_t unsafe_max_tlab_alloc(Thread* thr) const;

virtual bool can_elide_tlab_store_barriers() const;
virtual bool can_elide_initializing_store_barrier(oop new_obj);
virtual bool card_mark_must_follow_store() const;

virtual GrowableArray<GCMemoryManager*> memory_managers();
virtual GrowableArray<MemoryPool*> memory_pools();

Expand Down

1 comment on commit e4d0e5a

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on e4d0e5a Sep 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.