Issue Details (XML | Word | Printable)

Key: RVM-358
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ian Rogers
Reporter: Ian Rogers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RVM

Initial support for Apache Harmony class library

Created: 26/Dec/07 09:33 PM   Updated: 04/Jul/08 02:24 PM
Component/s: Infrastructure: Build, Runtime: Class Library: Harmony
Affects Version/s: None
Fix Version/s: 3.0

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

Sub-Tasks  All   Open   

 Description  « Hide
Apache Harmony and IcedTea provide alternatives to GNU Classpath for our class library implementation. We should support these class libraries as they provide a work around for when functionality is missing from GNU Classpath or to see what performance issues there are.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Steve Blackburn added a comment - 30/Dec/07 04:31 AM
I think this is an important goal. If Jikes RVM were a) to be class library-independent, and b) to have Apache Harmony bindings, it would be a great step forward.

Does anyone know of any other JVMs out there with both GNU classpath and Apache Harmony bindings?

Apparently the new Google VM to be used in their phone is using the Apache libraries, and it appears (from some stack traces I've seen that the latest product JVM from IBM is now using some version of the apache libraries too (as of mid-December 2007). So it is definitely one to keep an eye on.

--Steve


Andrew John Hughes added a comment - 01/Jan/08 04:06 PM
For OpenJDK/IcedTea integration, it may be worth checking CACAO (http://www.cacaovm.org/) which already supports both that and GNU Classpath. I think the biggest issue there for JikesRVM will be that it relies on libjvm.so which I don't believe we currently provide.

That seems the most fruitful endeavour. I don't see the advantage of supporting another incomplete class library implementation, and the general shift in the GNU Classpath community is towards OpenJDK.


Andrew John Hughes added a comment - 03/Feb/08 12:37 PM
Is there any news on Apache Harmony integration? With regards to OpenJDK, I can see some difficulties in integrating it with JikesRVM. For example, just looking at java.lang.Object shows a number of native methods in that class (e.g. hashCode(), clone()) which GNU Classpath would house in VMObject.

Ian Rogers added a comment - 04/Feb/08 05:32 AM
For situations like Object we provide our own implementation in the common library interface. For IcedTea/OpenJDK integration it may be better for us to work on BrandWeg and recycle the work we have for Classpath. I'll start sticking the harmony integration code I have into the repository when I get a bit more going.

Ian Rogers added a comment - 03/Jun/08 09:55 AM
In r14352 and r14353 I created a Harmony branch in the Jikes RVM [1] and added support for downloading and building Harmony. The next task is to remove dependencies Jikes RVM has on Classpath.

[1] https://jikesrvm.svn.sourceforge.net/svnroot/jikesrvm/rvmroot/branches/RVM-358-Harmony/


Ian Rogers added a comment - 09/Jun/08 08:39 AM
Initial support for Harmony is now provided in r14455. Issues that haven't yet been addressed should be placed under the "Runtime: Class Library: Apache Harmony" category.

David Grove added a comment - 04/Jul/08 02:22 PM
reopening so I can modify fix target to 3.0