Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Java1.4.0 Win98SE - JVM Hang

843811Mar 25 2002 — edited Apr 1 2002
I figured that I'd post this to the Forums before I posted this to the Bug people. I've got a multi-threaded (2 threads) Java3D application which is hanging the Java 1.4.0 JVM in Windows 98 SE. The 2 threads use java.io.PipedInputStreams (and OutputStreams) to communicate.

I'm using Forte 3.0 as the IDE. The JVM is:
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

I start my program and the JVM will hang within 30 minutes. I cannot Ctrl-Break to get a thread dump. If I have a debugger hooked up to the process, the debugger loses contact with the process. The only thing I can do is kill the process.

If I look at a summary of the processes running on the computer (using TaskInfo2000), I can see that the JVM is alive, but that all threads are blocked.

I've tried "-client", "-server", "-Xcomp". The JVM hangs on all. I've not seen the JVM hang on "-Xint".

- Memory: I've started checking freeMemory to make sure that my program has enough memory. I've also upped the starting memory. I'm not running out of memory.

- PipedInputStream : are these stable? I've changed the way that I use the pipes and reduced the amount of data that I pass through the pipes, but that hasn't stopped the hanging.

Any suggestions are appreciated! What other information can I give you to help you help me? This is extremely frustrating since I can't debug the problem.

I would love to post sample code, but my program is reasonably large (200k) and I don't know what part is buggy! If anyone wants to help me debug a program that evolves neural networks, I'm happy to send the code along.

-Arkemp@yahoo.com
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 29 2002
Added on Mar 25 2002
5 comments
157 views