Re: [Sablevm-developer] sablevm hang
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-06-17 23:02:47
|
Joseph Paris wrote: > Yeah, i made that sounds confusing ;p I meant to say that i have no > problem using the AwtUtils.init... by itself, nor do i have a problem > burying an awt class way down in a series of class instantiations > (currently tried about 6 levels down). > > However, in the current code base (JXTA) if i remove the call to > AwtUtils.init... the next call (which instantiates a class that displays a > Frame) hangs with the same problem and at VMObject.wait. I'm not sure > if i'm hitting a thread limit or what, it seems kind of odd that the same > problem occurs regardless of whether or not i call AwtUtils.init or create > a new Frame. > > I'll try your suggestions below and post some results. Let's work from the AwtUtils.java that I modified to have a main() method. It runs with Sun's JDK but hangs with sablevm AFAICT. Try and simplify just that until it doesn't hang, and give us the minimal hanging example. For example, you can remove the "f.dispose();" line and it will still hang, but not the "Frame f = new Frame();" line. Cheers, Chris |