Compatible Field Resolution (status update of the experiments)

Sebastian Sickelmann sebastian.sickelmann at gmx.de
Tue Dec 22 05:44:31 UTC 2015


Hi,

i a previous thread I wrote about a prototype for reducing the
accessibility of static and non-static fields without breaking binary
compatibility.
You can read about the details in following thread:
http://markmail.org/message/nrbu4tgmj3x3yolf

Now I want to send an update of what i achieved so far, and what you are
able to try (if you like).

There is a prototype of jlink which does replacement of the get/putfield
and get/putstatic if the field is not declared at the target or its
hierarchy.
You can find the Prototype here:
http://cr.openjdk.java.net/~sebastian/cfa/jlink/webrev.00/
with some description about it here:
http://markmail.org/message/7glllofh567bd4zt


There is a prototype for the zero- and the template-interpreter but only
for the getfield and getstatic bytecodes (no puts so far).
You can find the Prototype here:
http://cr.openjdk.java.net/~sebastian/cfa/zero_and_template_interp/
and some information about building the zero-interpreter here:
http://markmail.org/message/b3pucyo26uilo3vd

While experimenting with the template-interpreter, i found the Rewriter
and that it is called from InstanceKlass linkage.
This sounds really promissing, and so it will be my next experiment.
After that i want to collect some performance data about these experiments.

Any feedback is highly appreciated

--
Sebastian


More information about the discuss mailing list