Top


定義場所(file name)

hotspot/src/share/vm/services/classLoadingService.cpp

名前(function name)

bool ClassLoadingService::set_verbose(bool verbose) {

本体部(body)

  {- -------------------------------------------
  (1) CommandLineFlags::boolAtPut() を使って
      TraceClassLoading オプションの値を引数で指定された値に変更する.

      その後, ClassLoadingService::reset_trace_class_unloading() で
      TraceClassUnloading オプションの値も適切に変更しておく.
      ---------------------------------------- -}

      MutexLocker m(Management_lock);

      // verbose will be set to the previous value
      bool succeed = CommandLineFlags::boolAtPut((char*)"TraceClassLoading", &verbose, MANAGEMENT);
      assert(succeed, "Setting TraceClassLoading flag fails");
      reset_trace_class_unloading();

      return verbose;
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.