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

JShell Process Builder should be configurable

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: