-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
7u75
-
x86_64
-
linux
FULL PRODUCT VERSION :
java version "1.7.0_75"
OpenJDK Runtime Environment (amzn-2.5.4.0.53.amzn1-x86_64 u75-b13)
OpenJDK 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
Linux 64-bit
A DESCRIPTION OF THE PROBLEM :
when run a hello world class using java version "1.7.0_75" creates Process ID (PID) file contains JVM info about running application, java version,..... !!!!!!!!!!!
any idea why this file created????
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
ADDITIONAL REGRESSION INFORMATION:
Process ID (PID) file not created in older version of java (i.e. 1.7.0_71)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java helloworld
creates PID file with info as below
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
it display "hello world" on the console PLUS "PID" file with some contents as below:
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
ACTUAL -
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class TestJdmc {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
System.out.println("what a mystery file!!!");
int iThisChar = System.in.read();
if(iThisChar!=121 && iThisChar!=110)
{
System.out.println("please enter y or n");
}
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
running same class using java (1.7.0)71) PID is NOT created.
java version "1.7.0_75"
OpenJDK Runtime Environment (amzn-2.5.4.0.53.amzn1-x86_64 u75-b13)
OpenJDK 64-Bit Server VM
ADDITIONAL OS VERSION INFORMATION :
Linux 64-bit
A DESCRIPTION OF THE PROBLEM :
when run a hello world class using java version "1.7.0_75" creates Process ID (PID) file contains JVM info about running application, java version,..... !!!!!!!!!!!
any idea why this file created????
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
ADDITIONAL REGRESSION INFORMATION:
Process ID (PID) file not created in older version of java (i.e. 1.7.0_71)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java helloworld
creates PID file with info as below
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
it display "hello world" on the console PLUS "PID" file with some contents as below:
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
ACTUAL -
some of PID file contents:
============
sun.rt._sync_Inflations
sun.rt._sync_Deflations
sun.rt._sync_ContendedLockAttempts
sun.rt._sync_FutileWakeups
sun.rt._sync_Parks
sun.rt._sync_EmptyNotifications
sun.rt._sync_Notifications
sun.rt._sync_SlowEnter
sun.rt._sync_SlowExit
sun.rt._sync_SlowNotify
sun.rt._sync_SlowNotifyAll
sun.rt._sync_FailedSpins
sun.rt._sync_SuccessfulSpins
sun.rt._sync_PrivateA
sun.rt._sync_PrivateB
sun.rt._sync_MonInCirculation
sun.rt._sync_MonScavenged
sun.rt._sync_MonExtant
sun.rt.createVmBeginTime
sun.rt.createVmEndTime
sun.rt.vmInitDoneTime
java.threads.started
java.threads.live
java.threads.livePeak
java.threads.daemon
sun.rt.safepointSyncTime
sun.rt.safepoints
sun.rt.safepointTime
sun.rt.applicationTime
sun.rt.jvmVersion
sun.rt.threadInterruptSignaled
sun.rt.interruptedBeforeIO
sun.rt.interruptedDuringIO
sun.rt.jvmCapabilities
1000000000000000000000000000000000000000000000000000000000000000
java.cls.loadedClasses
java.cls.unloadedClasses
java.cls.sharedLoadedClasses
java.cls.sharedUnloadedClasses
sun.cls.loadedBytes
sun.cls.unloadedBytes
sun.cls.sharedLoadedBytes
sun.cls.sharedUnloadedBytes
sun.cls.methodBytes
sun.cls.time
sun.cls.classInitTime
sun.cls.classInitTime.self
java.property.java.vm.version
24.75-b04
java.property.java.vm.name
OpenJDK 64-Bit Server VM
java.property.java.vm.vendor
Oracle Corporation
java.property.java.vm.info
mixed mode
java.property.java.library.path
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.property.java.class.path
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class TestJdmc {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
System.out.println("what a mystery file!!!");
int iThisChar = System.in.read();
if(iThisChar!=121 && iThisChar!=110)
{
System.out.println("please enter y or n");
}
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
running same class using java (1.7.0)71) PID is NOT created.