< prev index next >
src/share/vm/prims/jvmtiEnv.cpp
Print this page
*** 27,36 ****
--- 27,37 ----
#include "classfile/systemDictionary.hpp"
#include "classfile/vmSymbols.hpp"
#include "interpreter/bytecodeStream.hpp"
#include "interpreter/interpreter.hpp"
#include "jvmtifiles/jvmtiEnv.hpp"
+ #include "logging/logConfiguration.hpp"
#include "memory/resourceArea.hpp"
#include "memory/universe.inline.hpp"
#include "oops/instanceKlass.hpp"
#include "oops/objArrayOop.inline.hpp"
#include "oops/oop.inline.hpp"
*** 626,636 ****
case JVMTI_VERBOSE_CLASS:
TraceClassLoading = value != 0;
TraceClassUnloading = value != 0;
break;
case JVMTI_VERBOSE_GC:
! PrintGC = value != 0;
break;
case JVMTI_VERBOSE_JNI:
PrintJNIResolving = value != 0;
break;
default:
--- 627,641 ----
case JVMTI_VERBOSE_CLASS:
TraceClassLoading = value != 0;
TraceClassUnloading = value != 0;
break;
case JVMTI_VERBOSE_GC:
! if (value == 0) {
! LogConfiguration::parse_log_arguments("stdout", "gc", NULL, NULL, NULL);
! } else {
! LogConfiguration::parse_log_arguments("stdout", "gc=off", NULL, NULL, NULL);
! }
break;
case JVMTI_VERBOSE_JNI:
PrintJNIResolving = value != 0;
break;
default:
< prev index next >