[fedora-java] Re: java issues on ppc
Robin Green
greenrd at greenrd.org
Sat Aug 13 00:46:41 UTC 2005
On Fri, 12 Aug 2005 14:01:59 -0600, Orion Poplawski wrote:
> I'm working on packaging plplot for Fedora Extras. It has a Java
> interface that appears to work fine on x86 but not on ppc. Basically
> the Java stuff is just a JNI wrapper to the C library.
>
> Is there any way to run the java byte-code/JVM under a debugger? My
> first attempt to debug was to compile the program to native code and run
> under gdb as mentioned on the gcj website, but the native code appears
> to run fine.
It's tricky - but possible - to debug interpreted bytecode. JDWP protocol
support is being worked on, but it's not ready yet.
Is plplot multithreaded? I've just discovered a thread-safety bug in the
gij interpreter which has lain unfixed for several years:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23367
I'm told that this bug only affects the interpreter.
There are also a couple of other threading bugs that I know of (one of
which is not so easy to reproduce on x86 but easy to reproduce on x86-64,
FWIW). But both of those are not specific to interpreted code.
If you want to join the #fedora-java IRC channel on
irc.freenode.net, I can try and help you debug it over IRC.
What kind of problems are you experiencing on ppc, when running plplot as
interpreted?
--
Robin
More information about the java-devel
mailing list