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

JShell API: Allow setting remote JVM arguments

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b117
    • Verification:
      Verified

      Description

      Need to be able to set JVM arguments such as setting memory use.

      Requires both:

          An addition to the API -- JShell.Builder.jvmArgument(String)

          A -R<jvmArgument> switch on the jshell tool command line

      (note this flag has been changed to -R, as -J is for setting flags on the front-end process.


      Richard Kolb wrote:
      > Hello,
      >
      > I am trying to set the JVM arguments of the jshell child process.
      > For example setting the heap parameters.
      >
      >> jshell -Xmx=1024m
      > Unknown option: -Xmx=1024m

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: