Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4619

[ibm vme][jedit] IBM VME doesn't support -ms and -mx options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      RI supports options -ms (equivalent to -Xms) and -mx (equivalent to -Xmx) though they're not documented or listed in help.

      However these options are used by some applications, for example by jEdit launcher script for Linux.

      IBM VME doesn't support these options, and because of this jEdit launcher doesn't work:

      $ jedit
      JVMJ9VM007E (russian text here, means 'Unknown command line option'): -mx32m
      HMYEXEL062E (russian text here, means 'Internal VM error: could not create') Java VM
      FAILED to invoke JVM.

      This problem is easily workarounded, as jEdit launcher is very simple and its jar can be easily launched manually, however this situation may confuse users.

      As a compact reproducer, the trivial test may be used:

      public class Test {
      public static void main(String[] args)

      { System.out.println("SUCCESS"); }

      }

      $ java -ms16M -mx32M Test

      Output on RI:

      SUCCESS

      Output on IBM VME:

      JVMJ9VM007E (russian text here, means 'Unknown command line option'): -ms16M
      HMYEXEL062E (russian text here, means 'Internal VM error: could not create') Java VM
      FAILED to invoke JVM.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmz Vasily Zakharov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: