Questions tagged [jinfo]

jinfo prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags.

jinfo prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags. If the given process is running on a 64-bit VM, you may need to specify the -J-d64 option, e.g.: jinfo -J-d64 -sysprops pid NOTE - This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgent.dll is not present, 'Debugging Tools for Windows' needs to be installed to have these tools working. Also the PATH environment variable should contain the location of jvm.dll used by the target process or the location from which the Crash Dump file was produced.

For example, set PATH=\jre\bin\client;%PATH%

for more detail,please check : http://docs.oracle.com/javase/6/docs/technotes/tools/share/jinfo.html#description

7 questions
4
votes
1 answer

Can't Enable DTrace probes via jinfo on Mac OS X

Running Java 6 on Snow Leopard. You're supposed to be able to turn on ExtendedDTraceProbes on a running Java process with the jinfo utility. Even at my command prompt jinfo talks about about enabling general flags: Usage: jinfo [option]
Mark Bennett
  • 1,446
  • 2
  • 19
  • 37
2
votes
0 answers

Disastrous bug when running jinfo and jmap

When I run jinfo or jmap to any Java process, it will "suspend" the Java process. It's 100% reproduced for the long running processes. Here're the detailed steps: Pick a Java process which is running over 25 days(It's wired because this doesn't…
tobe
  • 1,671
  • 2
  • 23
  • 38
2
votes
1 answer

jinfo crashed the JVM occasionally

Accidentally I found the stat of one Java process is T(Stopped, either by a job control signal or because it is being traced). I think it may be related to jinfo because I ran this command at that time. Then I try to run jinfo again and the process…
tobe
  • 1,671
  • 2
  • 23
  • 38
1
vote
1 answer

Change java -Xmx after the VM has already started

Possible Duplicates: Setting JVM heap size at runtime programatically setting max java heap size I have a long-running Java job running on my computer, and it's slowing down immensely when it gets near the end becuase it encounters serious memory…
Ken Bloom
  • 57,498
  • 14
  • 111
  • 168
1
vote
0 answers

About jvm comand :jstat and jinfo

jstat get this: S0C S1C S0U S1U EC EU OC OU PC PU YGC YGCT FGC FGCT GCT 64512.0 68096.0 46476.6 0.0 535552.0 125004.4 154624.0 106045.5 29184.0 28595.3 12 0.620 1 …
Vayne
  • 57
  • 7
0
votes
1 answer

Java option MaxDirectMemorySize reported differently by java vs. jinfo

I restarted a Java process with new memory options -Xms4G -Xmx4G -XX:MaxDirectMemorySize=6G and wanted to verify if these changes got correctly applied, especially the 6G of direct memory. The first solution I found for verifying this was via java…
dokaspar
  • 8,186
  • 14
  • 70
  • 98
0
votes
1 answer

what's means of jinfo non-default vm flags

what's means of jinfo non-default vm flags? non-default is an ambiguous, I think it looks like default vm flags.
aaronshan
  • 382
  • 3
  • 9