--- old/src/share/vm/gc/shared/space.hpp 2017-08-08 17:49:00.020474432 -0400 +++ new/src/share/vm/gc/shared/space.hpp 2017-08-08 17:48:58.660397134 -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;