-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b31
-
generic
-
generic
After building the j2se, we have hotspot.log files in our make tree.
make/com/sun/jndi/rmi/registry/hotspot.log
make/com/sun/security/auth/module/hotspot.log
make/java/instrument/hotspot.log
make/java/management/hotspot.log
make/java/net/hotspot.log
make/javax/pack/hotspot.log
make/javax/sound/hotspot.log
make/javax/sound/jsoundalsa/hotspot.log
make/javax/sound/jsoundds/hotspot.log
make/jpda/transport/shmem/hotspot.log
make/nc.log
make/sun/awt/hotspot.log
make/sun/cmm/hotspot.log
make/sun/corba/core/hotspot.log
make/sun/dcpr/hotspot.log
make/sun/font/hotspot.log
make/sun/headless/hotspot.log
make/sun/jdbc/hotspot.log
make/sun/jpeg/hotspot.log
make/sun/motif21/hotspot.log
make/sun/rmi/rmi/hotspot.log
make/sun/xawt/hotspot.log
Should these files be in the OUTPUTDIR?
I've been told by the hotspot team that these files are created by when the debug vm is running. However, they can be redirected to the OUTPUTDIR using the following:
With the debug VM (java_g, etc) you can specify the following to redirect the log file output:
-XX:LogFile=/tmp/hotspot.log
(With the product VM (java, etc) you have to unlock the flag first:)
-XX:+UnlockDiagnosticVMOptions -XX:LogFile=/tmp/hotspot.log
but the product VM doesn't create a log file by default so you probably don't need to use the second form.
Another option is to turn off logging in the debug VM with:
-XX:-LogVMOutput
###@###.### 2003-10-22
make/com/sun/jndi/rmi/registry/hotspot.log
make/com/sun/security/auth/module/hotspot.log
make/java/instrument/hotspot.log
make/java/management/hotspot.log
make/java/net/hotspot.log
make/javax/pack/hotspot.log
make/javax/sound/hotspot.log
make/javax/sound/jsoundalsa/hotspot.log
make/javax/sound/jsoundds/hotspot.log
make/jpda/transport/shmem/hotspot.log
make/nc.log
make/sun/awt/hotspot.log
make/sun/cmm/hotspot.log
make/sun/corba/core/hotspot.log
make/sun/dcpr/hotspot.log
make/sun/font/hotspot.log
make/sun/headless/hotspot.log
make/sun/jdbc/hotspot.log
make/sun/jpeg/hotspot.log
make/sun/motif21/hotspot.log
make/sun/rmi/rmi/hotspot.log
make/sun/xawt/hotspot.log
Should these files be in the OUTPUTDIR?
I've been told by the hotspot team that these files are created by when the debug vm is running. However, they can be redirected to the OUTPUTDIR using the following:
With the debug VM (java_g, etc) you can specify the following to redirect the log file output:
-XX:LogFile=/tmp/hotspot.log
(With the product VM (java, etc) you have to unlock the flag first:)
-XX:+UnlockDiagnosticVMOptions -XX:LogFile=/tmp/hotspot.log
but the product VM doesn't create a log file by default so you probably don't need to use the second form.
Another option is to turn off logging in the debug VM with:
-XX:-LogVMOutput
###@###.### 2003-10-22