The -Xprintflags causes the VM to segv

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • hs13
    • Affects Version/s: 7
    • Component/s: 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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: