代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/openjdk-1.8.0 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
diff --git a/hotspot/src/share/vm/gc_implementation/g1/g1Allocator.hpp b/hotspot/src/share/vm/gc_implementation/g1/g1Allocator.hpp
index 9b26168a8..f6a80bf8d 100644
--- a/hotspot/src/share/vm/gc_implementation/g1/g1Allocator.hpp
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1Allocator.hpp
@@ -45,6 +45,7 @@ protected:
public:
G1Allocator(G1CollectedHeap* heap) :
_g1h(heap), _summary_bytes_used(0) { }
+ virtual ~G1Allocator() { }
// Node index of current thread.
virtual uint current_node_index() const = 0;
@@ -126,7 +127,7 @@ protected:
public:
G1DefaultAllocator(G1CollectedHeap* heap);
- ~G1DefaultAllocator();
+ virtual ~G1DefaultAllocator();
uint current_node_index() const;
uint num_nodes() { return (uint)_num_alloc_regions; }
@@ -253,6 +254,7 @@ protected:
public:
G1ParGCAllocator(G1CollectedHeap* g1h);
+ virtual ~G1ParGCAllocator() { }
static G1ParGCAllocator* create_allocator(G1CollectedHeap* g1h);
@@ -308,7 +310,7 @@ class G1DefaultParGCAllocator : public G1ParGCAllocator {
public:
G1DefaultParGCAllocator(G1CollectedHeap* g1h);
- ~G1DefaultParGCAllocator();
+ virtual ~G1DefaultParGCAllocator();
virtual G1ParGCAllocBuffer* alloc_buffer(InCSetState dest, AllocationContext_t context, uint node_index) {
assert(dest.is_valid(),
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。