hotspot/src/share/vm/gc/g1/g1CollectorState.hpp
changeset 33214 5a00fba36171
parent 33130 a776072941e8
child 33216 8ecefd0f0d10
--- a/hotspot/src/share/vm/gc/g1/g1CollectorState.hpp	Thu Oct 15 00:42:15 2015 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1CollectorState.hpp	Thu Oct 15 10:07:28 2015 +0200
@@ -125,7 +125,7 @@
     return (_last_young_gc && !_in_marking_window);
   }
 
-  G1YCType yc_type() {
+  G1YCType yc_type() const {
     if (during_initial_mark_pause()) {
       return InitialMark;
     } else if (mark_in_progress()) {