Re: SableVM on ARM Zaurus
"Grzegorz B. Prokopski" <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | SableVM - LGPL'ed Free Java VM http://sablevm.org |
| Message-ID | <[email protected]> |
On Sun, 2005-09-01 at 00:56 +0100, Cortez The Killer wrote: > Running the classpath examples now give the following error: > > sablevm: thread.c:635: _svmf_resuming_java: Assertion 'status == 3 || > status == 4' failed Does this happen on both ARM and x86? (it'd be good if we could reproduce it on x86 hardware) Which example was that? It doesn't happen on a simple "HelloWorld" program, on ARM, I presume? > Does this have anything to do with the missing --with-threading=direct > parameter? No. There's 3 kinds of threading in sablevm, from the fastest to the surest (and slowest): inline, direct, switch. The --enable-debugging-features made it use "switch", enabled all compilation warnings possible and, most importantly, enabled assert()ions. This last thing is "responsible" for what you reported above. It suggests that either a bug in SableVM, or problems with atomic compare&swap implementation we have for ARM, or ... sth other? HTH Grzegorz B. Prokopski --