What is the jvm.log?

What is the jvm.log?

Nexus Repository Manager 3.1.0 and greater creates a log file at <data_dir>/log/jvm.log.

This log file is a side effect of a java vm option -XX:+LogVMOutput and is present to capture stderr output which can't otherwise be captured into the application log at <data_dir>/log/nexus.log.

The primary use case is to capture thread dumps triggered by SIGQUIT signals ( kill -3 <pid> or kill -QUIT <pid> ).

The file is not rotated out as it grows in size or age, but should not grow very large either.

On each start of the java process, the entire contents of the file are replaced. Therefore if you are wanting to preserve any triggered thread dumps sent to this file, make a copy of the file first, before the next restart of the java process.

The jvm.log contains dependency_failed messages - should I be concerned?

No. These messages do not indicate a problem.

The messages represent where a previous assumption about a class has changed (due to dynamic linking) and the JIT compiler needs to recompile the class.

http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/file/567e410935e5/src/share/vm/code/dependencies.hpp#l36

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk