This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [boehm-gc] Import 6.3 alpha 1
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 29 Jul 2003 01:59:31 -0400 (EDT)
- Subject: Re: [boehm-gc] Import 6.3 alpha 1
On Tue, 29 Jul 2003, Ranjit Mathew wrote:
> That seemed to be what Bryce wanted to do:
>
> http://gcc.gnu.org/ml/java/2002-06/msg00111.html
Thanks for the link! I'd forgotten about some of these discussions.
Bryce's is a good plan, if difficult to implement. One way to accomplish
it could be to JIT everything; allow the interpreter to load classes as
usual, then swap method pointers to interpreter trampolines for compiled
functions.
Regarding the last paragraph:
> A potential disadvantage (or an advantage depending on which way you
> look at it) of this approach is that it pushes link errors like missing
> classes to runtime.
I'd consider that a definitive advantage. Too many Java projects have
come to rely on the laziness and sloppiness of dynamic linking at runtime.
Such projects just aren't easily portable to gcj. Not yet, at least.
Jeff