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

suppress messages from AdapterHandlerLibrary::create_native_wrapper if -XX:CompileCommand=quiet is set

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 17
    • hotspot
    • generic
    • generic

      hotspot unconditionally compiles the native wrappers for java.lang.invoke.MethodHandle::*
      Because they do call-convention translation between java to native code.

      Currently, it doesn't read CompilerOracle::be_quiet(). As a result, it prints out
      some Compile tasks no matter what.

      java -XX:+PrintCompilation -XX:CompileCommand=exclude,*.* -XX:CompileCommand=quiet --version
      CompileCommand: exclude *.* bool exclude = true
          151 1 n 0 java.lang.invoke.MethodHandle::linkToStatic(LLLLLLL)L (native) (static)
          162 2 n 0 java.lang.invoke.MethodHandle::linkToStatic(LLL)L (native) (static)
          164 3 n 0 java.lang.invoke.MethodHandle::invokeBasic(LLLLLL)L (native)
          164 4 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LLLLLLLL)L (native) (static)
          171 5 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LLLL)V (native) (static)
          173 6 n 0 java.lang.invoke.MethodHandle::invokeBasic(LL)L (native)
          173 7 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LLLL)L (native) (static)
          182 8 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LLL)L (native) (static)
          195 9 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LLL)V (native) (static)
          197 10 n 0 java.lang.invoke.MethodHandle::invokeBasic(L)L (native)
          210 11 n 0 java.lang.invoke.MethodHandle::linkToStatic(LL)L (native) (static)
          216 12 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LLLL)I (native) (static)
          224 13 n 0 java.lang.invoke.MethodHandle::linkToVirtual(LL)V (native) (static)
          226 14 n 0 java.lang.invoke.MethodHandle::linkToStatic(LLL)I (native) (static)
          236 15 n 0 java.lang.invoke.MethodHandle::linkToStatic(LLLL)L (native) (static)
          243 16 n 0 java.lang.invoke.MethodHandle::invokeBasic()L (native)
          243 17 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LL)L (native) (static)
          249 18 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LL)V (native) (static)
          251 19 n 0 java.lang.invoke.MethodHandle::linkToInterface(LLL)I (native) (static)
          351 20 n 0 java.lang.invoke.MethodHandle::linkToInterface(LL)L (native) (static)
          357 21 n 0 java.lang.invoke.MethodHandle::linkToStatic(LL)I (native) (static)
          360 22 n 0 java.lang.invoke.MethodHandle::linkToVirtual(LL)L (native) (static)
          364 23 n 0 java.lang.invoke.MethodHandle::linkToSpecial(LL)I (native) (static)

            xliu Xin Liu
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: