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

The -Xprintflags causes the VM to segv

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs13
    • 7
    • hotspot
    • b01
    • generic, x86
    • generic, windows_xp
    • Verified

        The -Xprintflags is broken.

        See comments for further description.
        This also causes

        % jinfo -flags <flag>

        to crash the target jvm when <flag> is an argument which happens to be
        a string variable that is empty in the target jvm.

        Here's a script from ###@###.### that illustrates
        the crash:-

        #!/bin/csh
        set CRASH_JVM = "\
        CompileCommand \
        CompileCommandFile \
        ErrorFile \
        HPILibPath \
        PerfDataSaveFile \
        "
        foreach i ( $CRASH_JVM )
          if ( $i != "" ) then
             jinfo -flag $i $1
          endif
        end

              never Tom Rodriguez
              jmasa Jon Masamitsu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: