--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2015-01-27 17:28:14.890437954 -0500 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp 2015-01-27 17:28:14.778431479 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2015, 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 @@ -800,7 +800,6 @@ // The concurrent marker (and the thread it runs in.) ConcurrentMark* _cm; ConcurrentMarkThread* _cmThread; - bool _mark_in_progress; // The concurrent refiner. ConcurrentG1Refine* _cg1r; @@ -1443,15 +1442,9 @@ void markModUnionRange(MemRegion mr); // Records the fact that a marking phase is no longer in progress. - void set_marking_complete() { - _mark_in_progress = false; - } - void set_marking_started() { - _mark_in_progress = true; - } - bool mark_in_progress() { - return _mark_in_progress; - } + void set_marking_complete(); + void set_marking_started(); + bool mark_in_progress(); // Print the maximum heap capacity. virtual size_t max_capacity() const;