United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8000780 make Zero build and run with JDK8
JDK-8000780 : make Zero build and run with JDK8

Details
Type:
Bug
Submit Date:
2012-10-11
Status:
Resolved
Updated Date:
2013-09-04
Project Name:
JDK
Resolved Date:
2012-10-29
Component:
hotspot
OS:
Sub-Component:
compiler
CPU:
other
Priority:
P4
Resolution:
Fixed
Affected Versions:
Fixed Versions:
hs25 (b08)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
http://mail.openjdk.java.net/pipermail/hotspot-dev/2012-October/006862.html

Hello,

In the recent weeks I worked on the Zero interpreter, to get it to build
and run with JDK8, and in particular with the latest changes that came
from mlvm (meth-lazy). The following webrev applies to hsx/hotspot-main:

http://cr.openjdk.java.net/~rkennke/zerojdk8/webrev.00/

A few notes on the patch:
- Some makefile changes have been necessary to get it to build at all.
- A bunch of stub functions needed to be added to make the compiler
happy, they should not be called though.
- Most of the changes are related to JSR292 stuff, in particular the
added invokehandle handler, and the changes to invokedynamic resulting
from how the constant pool entry has changed (e.g. method is now in f1).
- A lot of code relating to JSR292 could be removed because most of the
logic has been moved to the (Java) lambda forms.
- A few native methods have been added (MH.invokeBasic(),
MH.linkToVirtual(), MH.linkToStatic() MH.linkToSpecial()).

With those changes it's possible to build the Zero-JDK with itself, and
run the JSR292 related jtreg testcases. I did not (yet) attempt to run a
TCK or such, this would have to wait until all this gets backported to
JDK7 anyway, and I wanted to get some feedback on the changes first.

So what do you think?

And what are the next steps to (hopefully) get those changes committed?
I guess I need a bug-ID and formal review ?

And in case this is not the correct mailing list, please fwd to and/or
CC the correct list.

Thanks and kind regards,
Roman
                                    

Comments
URL:   http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/a3e2f723f2a5
User:  twisti
Date:  2012-10-29 20:09:56 +0000

                                     
2012-10-29
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/a3e2f723f2a5
User:  amurillo
Date:  2012-11-02 16:45:37 +0000

                                     
2012-11-02



Hardware and Software, Engineered to Work Together