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

JShell API: Allow setting remote JVM arguments

XMLWordPrintable

    • b117
    • Verified

      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

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: