Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6304997

-J option is not working properly in jtreg tool.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • jt3.1.2
    • tools
    • generic
    • generic

      Bug Info:
      =========
      I used jtreg -J option for using JVM runtime options in the following way while running regression test.

      -J-Xms64m -Xmx1540m -XX:PermSize=64m -XX:MaxPermSize=64m

      But i was getting the following error.

      Unrecognized argument: `-Xmx1540m'

      Then i understand, -Xmx1540m is treating as jtreg option so that it is saying unrecognized option.Later i was trying same thing in the followin way.

      -J"-Xms64m -Xmx1540m -XX:PermSize=64m -XX:MaxPermSize=64m"

      Still i was getting the error like below mentioned way.

      Unrecognized option: -XX

      I gave the entire runtime options as string even though i am facing the problem.It is taking the string upto -Xms64m -Xmx1540m -XX.

            jjg Jonathan Gibbons
            vthotasunw Vinay Thota (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: