Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8143155

Remove TraceRuntimeCalls, TraceJNICalls and TraceJVMCalls rather than convert to UL

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b96

      There are options CountRuntimeCalls, CountJNICalls and CountJVMCalls that provide histograms of the calls into the JVM. These are useful.
      The Trace* Options provide no useful information and is thousands of lines of useless stuff for java -version.

      JVM JVM_ArrayCopy
      JVM JVM_ArrayCopy
      JVM JVM_ArrayCopy
      JVM JVM_ArrayCopy
      JVM JVM_ArrayCopy
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-fastdebug-cphillim_2015_11_13_14_47-b00-coleen, mixed mode)JVM JVM_ArrayCopy
      JVM JVM_ArrayCopy

      JVM JVM_ArrayCopy
      JVM JVM_MonitorNotifyAll
      JVM JVM_CurrentThread
      JVM JVM_GetStackAccessControlContext
      JVM JVM_GetInheritedAccessControlContext

      OR: TraceRuntimeCalls
      ...
        7556 InterpreterRuntime::resolve_from_cache(JavaThread* thread, Bytecodes::Code bytecode)
        7557 InterpreterRuntime::build_method_counters(JavaThread* thread, Method* m)
        7558 InterpreterRuntime::resolve_from_cache(JavaThread* thread, Bytecodes::Code bytecode)
        7559 InterpreterRuntime::_new(JavaThread* thread, ConstantPool* pool, int index)
        7560 InterpreterRuntime::resolve_from_cache(JavaThread* thread, Bytecodes::Code bytecode)
        7561 InterpreterRuntime::build_method_counters(JavaThread* thread, Method* m)
        7562 InterpreterRuntime::resolve_from_cache(JavaThread* thread, Bytecodes::Code bytecode)
        7563 InterpreterRuntime::resolve_from_cache(JavaThread* thread, Bytecodes::Code bytecode)
        7564 InterpreterRuntime::build_method_counters(JavaThread* thread, Method* m)
      ...

            rprotacio Rachel Protacio (Inactive)
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: