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.
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.
- csr for
-
JDK-8319923 JShell Process Builder should be configurable
-
- Closed
-