--- a/hotspot/src/share/vm/gc/shared/space.hpp Mon Aug 14 16:48:44 2017 +0200
+++ b/hotspot/src/share/vm/gc/shared/space.hpp Mon Aug 14 14:32:17 2017 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -447,6 +447,9 @@
// Return a size with adjustments as required of the space.
virtual size_t adjust_object_size_v(size_t size) const { return size; }
+ void set_first_dead(HeapWord* value) { _first_dead = value; }
+ void set_end_of_live(HeapWord* value) { _end_of_live = value; }
+
protected:
// Used during compaction.
HeapWord* _first_dead;