< prev index next >

src/share/vm/gc_implementation/g1/g1Log.hpp

Print this page

        

*** 26,42 **** --- 26,44 ---- #define SHARE_VM_GC_IMPLEMENTATION_G1_G1LOG_HPP #include "memory/allocation.hpp" class G1Log : public AllStatic { + public: typedef enum { LevelNone, LevelFine, LevelFiner, LevelFinest } LogLevel; + private: static LogLevel _level; public: inline static bool fine() { return _level >= LevelFine;
*** 48,56 **** --- 50,62 ---- inline static bool finest() { return _level == LevelFinest; } + static LogLevel level() { + return _level; + } + static void init(); }; #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1LOG_HPP
< prev index next >