[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Classpath AWT sort-of runs on Jikes RVM
From: |
Brian Jones |
Subject: |
Re: GNU Classpath AWT sort-of runs on Jikes RVM |
Date: |
15 Feb 2003 10:09:06 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Julian Dolby <address@hidden> writes:
> I have been playing with running AWT programs on Jikes RVM using GNU
> Classpath, and I have have made some simple applications run. The major
> issue was the threading model, and the assumption that Java threads look
> like pthreads, which they do not on Jikes RVM (we use our own user-level
> threading). I found the gthread-jni files, and I basically filled in all
> the functions in gthread-jni.c to use JNI to talk to Java-level
> synchronization mechanisms. I also passed the magic structure of those
> function pointers to g_thread_init in GtkMainThread.gtkInit. This code
> should work for any VM; nonethelessI put the changes to use this stuff
> under a --enable-portable-native-sync option to configure, so that VMs that
> do not support all the JNI I used will not be bitten by it.
Yes, perhaps we can make the portable native sync the default
eventually.
Brian
--
Brian Jones <address@hidden>