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

JShell Process Builder should be configurable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • tools
    • None
    • b26

    Description

      The JShell API lacks support for configuration. We want to provide our own JdiInitiator (ideally, inherits it by just overriding one method that creates a process builder instance).

      For each JShell instance, there’s a ProcessBuilder with 2 attached files (stderr and crash report). This is can be problematic in high-density containerised environment where some limits (ex. selinux, & ulimits) are reached more rapidly.

      JdiInitiator creates a subprocess with stdout/stderr attached to local files. We should be able to configure a process builder instance, and define values for redirectError and redirectOutput.

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              ddelabassee David Delabassee
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: