--- old/src/share/vm/gc_implementation/g1/g1Log.hpp 2015-02-27 15:19:11.990465515 +0100 +++ new/src/share/vm/gc_implementation/g1/g1Log.hpp 2015-02-27 15:19:11.898465519 +0100 @@ -28,6 +28,7 @@ #include "memory/allocation.hpp" class G1Log : public AllStatic { + public: typedef enum { LevelNone, LevelFine, @@ -35,6 +36,7 @@ LevelFinest } LogLevel; + private: static LogLevel _level; public: @@ -50,6 +52,10 @@ return _level == LevelFinest; } + static LogLevel level() { + return _level; + } + static void init(); };