after dmtcp_restart Java process consumes 100% CPU
Bug #870947 reported by
asch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmtcp (Ubuntu) |
Fix Released
|
Undecided
|
Kapil Arya |
Bug Description
To reproduce:
1. Create a simple Java program like the attached one
* compile it: $ javac Simple.java
2. run using dmtcp:
$ dmtcp_checkpoint java Simple
3. Create snapshot:
$ dmtcp_command c
4. Restart the process
$ dmtcp_restart ckpt_...
5. Check CPU usage in top - it is 100%
Software version:
Oneiric - x86_64
All Java versions produce the same: sun-java6-jre, openjdk-6-jre, Oracle Java 7 (from java.oracle.com)
To post a comment you must log in.
Hello asch,
Thanks for the bug report. We, the upstream developers of DMTCP, are aware that DMTCP does not yet support SUN's JVM for Java. The issue has to do with how Sun dynamically loads dynamic libraries. We intend to fix this in the future. Because most of our users aren't using Java, we haven't made this a priority up to now. If you have an important checkpointing application with DMTCP, please tell us, and we'd be happy to raise the priority.
Would it be possible to use a different Java implementation (not derived from SUN/Oracle) in the meantime?
You can also reach us at: <email address hidden>
Best wishes,
- the DMTCP team