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

-XX:+Verbose prints messages even if no other flag is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 9
    • hotspot
    • b114

      Running the VM with -XX:+Verbose prints dozens of register allocator debug messages even if no additional flag like -XX:+PrintOpto is specified.

      -XX:+Verbose should only "Print additional debugging information from other modes" but should not print anything on its own.

      RA attempts to clone node with anti_dependence:
       301 testN_mem_reg0 === 2308 40 4016 [[ 300 ]] #16/0x0000000000000010narrowoop: NULL Type:int:-1..1
       300 cmovI_reg === _ 301 3037 3038 [[ 312 299 ]] e Type:int !jvms: java.lang.String::isLatin1 @ bci:10 java.lang.String::charAt @ bci:1 sun.invoke.util.Wrapper::hashPrim @ bci:17 sun.invoke.util.Wrapper::findPrimitiveType @ bci:4 sun.invoke.util.Wrapper::forPrimitiveType @ bci:1 java.lang.invoke.LambdaForm$BasicType::basicType @ bci:12 java.lang.invoke.MethodHandleImpl::makePairwiseConvertByEditor @ bci:154

      into block:
      B22: # B23 B453 <- N2222 Freq: 0.756412 IDom: 20/#7 RegPressure: 6 IHRP Index: 9 FRegPressure: 0 FHRP Index: 9
       2308 Region === 2308 275 [[ 2308 273 295 301 305 309 ]] Type:control
       4016 InputToRematerializationSpillCopy === _ 3034 [[ 301 ]] Type:narrowoop: java/lang/Object:BotPTR *[int:>=0]:BotPTR *
       301 testN_mem_reg0 === 2308 40 4016 [[ 300 ]] #16/0x0000000000000010narrowoop: NULL Type:int:-1..1
       3037 loadConI === 11 [[ 300 ]] #1/0x00000001 Type:int:1
       3038 loadConI0 === 11 [[ 3039 300 ]] #0/0x00000000 Type:int:0

      [...]

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: