--- old/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp 2015-01-27 17:28:15.478471952 -0500 +++ new/src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp 2015-01-27 17:28:15.370465707 -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 @@ -284,8 +284,8 @@ _evacuation_failure_alot_for_current_gc = (elapsed_gcs >= G1EvacuationFailureALotInterval); // Now check if G1EvacuationFailureALot is enabled for the current GC type. - const bool gcs_are_young = g1_policy()->gcs_are_young(); - const bool during_im = g1_policy()->during_initial_mark_pause(); + const bool gcs_are_young = g1_policy()->collector_state()->gcs_are_young(); + const bool during_im = g1_policy()->collector_state()->during_initial_mark_pause(); const bool during_marking = mark_in_progress(); _evacuation_failure_alot_for_current_gc &=