-
Bug
-
Resolution: Fixed
-
P3
-
11.0.1, 12
-
b05
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8231369 | 11.0.6-oracle | Harold Seigel | P3 | Resolved | Fixed | b01 |
JDK-8230717 | 11.0.6 | Harold Seigel | P3 | Resolved | Fixed | b01 |
A DESCRIPTION OF THE PROBLEM :
Even if log rotation is not enabled, -Xlog:gc: fails to start the jvm if provided a path to a fifo (with active consumer)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
mkfifo testpipe
<in another shell> less -f testpipe
java -Xlog:gc:file=testpipe -jar yourjar
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
output of gc logs should be written to pipe
ACTUAL -
[0.002s][error ][logging] Unable to log to file /tmp/gclogpipe with log file rotation: /tmp/gclogpipe is not a regular file
[0.002s][error ][logging] Initialization of output 'file=/tmp/gclogpipe' using options '(null)' failed.
FREQUENCY : always
Even if log rotation is not enabled, -Xlog:gc: fails to start the jvm if provided a path to a fifo (with active consumer)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
mkfifo testpipe
<in another shell> less -f testpipe
java -Xlog:gc:file=testpipe -jar yourjar
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
output of gc logs should be written to pipe
ACTUAL -
[0.002s][error ][logging] Unable to log to file /tmp/gclogpipe with log file rotation: /tmp/gclogpipe is not a regular file
[0.002s][error ][logging] Initialization of output 'file=/tmp/gclogpipe' using options '(null)' failed.
FREQUENCY : always
- backported by
-
JDK-8230717 -Xlog::file cannot be used with named pipe
- Resolved
-
JDK-8231369 -Xlog::file cannot be used with named pipe
- Resolved