This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Per Bothner wrote:
I have a good compiler (both front and back-end) and Java VM background, and am bright enough. How many 40-hours one man weeks do you think?A fair amount of work, but probably quite feasible. But note that GCJ would be used to compile the *non-native* Java methods. Therefore you also need a tool to create a Java class where *all* the non-constructor methods are native, so the JVM will know to look for the methods using JNI. Another GCJ modification shoudl do it
My performance measure is space, not speed...:-)
And the space usage will suck really bad too. mage replacing a
getfield JVM instruction (3 bytes plus whatever space is used in
the constant pool) with a function call, were you also need to
look up the field by name, so the field and class names also have
to be in the executable.
It still makes no sense.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |