Re: [rvm-research] Curious about OpenJDK on JikesRVM

Xi Yang <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAG2O1R2JiGLgazy3BAbpuyVnhmAkK5kPXoNbfiPyEQ1A-ppTfQ@mail.gmail.com>
Hi Diogenes,

I am still working on Openjdk port. The current implementation is
really in early stage. You can build the bootimage, you can run simple
hello world, etc.

What I am working on is borrowing the interface code from Maxine.
Maxine supports unmodified JDK6 and JDK7. They identify methods in JDK
classes who could call JVM interface via JNI, and hijack those
methods.

The approach I did for current Jikes implement is ugly, because:

*) I borrowed some harmony library interface code, because they are
simple. But those implementation is in very early stage too.

*) I copied .JAVA files who can call HOTSPOT JVM JNI interface, and
change the methods body, etc manually.

*) Instead of carefully checking which classes needed to be init
before class loading becoming functionally, I just reuse most of
current codes in postboot().

I am working on fixing those problems, and deliver a better
implementation. I expect I will release it out within two months.

However, I am doing my internship at MSR now, and a full-time PhD
student. So, there is not strict timeline for this work, but I will
try my best to deliver it out before November.

Regards.

On 13 August 2013 13:38, Diogenes Nunez <[email protected]> wrote:
> Hello everyone,
>
> I have been looking through the mailing list and seen discussion surrounding
> porting OpenJDK to JikesRVM. However, most of the information I've found
> on the list is either outdated (java versions) or non-functioning due to
> missing links.
>
> Does anyone know the current status of OpenJDK on JikesRVM? How difficult is
> it and
> what is required to complete the task?
>
> Thank you.
>
> Diogenes
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.