ARM interpreter

I just discovered that the ARM-specific interpreter stuff that Ed Nevill wrote last year has a hack that disables it when run with -XX:+PrintCommandLineFlags. I guess this is one problem when you have 6,000 14,000 lines of assembler nobody understands: you don’t know what secret weird shit is buried in there.

Posted by gbenson on Monday, March 14th, 2011, at 14:28, and filed under Uncategorized.

If you want to help updating the ARM ASM interpreter to work in combination with the latest Zero and Shark Hotspot then feel free to join the #OpenJDK IRC channel on the OFTC IRC network irc://irc.oftc.net:6667.

What is the current status of the ARM ASM interpreter and Shark JIT for ARM? I’ve read all the links that Xerces posted, so I think I understand the background of the interpreter, but I can’t find which repository it’s in.

Is there a stable way to cross-compile OpenJDK for ARM, with or without the optimized interpreter or Shark?

I have updated the CrossCompileFaq today to use the latest available tools.
The org.openembedded.dev branch changes rapidly, the glibc header issue that you experience are most likely a new bug that got introduced recently when someone are working on updating glibc in the the org.openembedded.dev git tree. Try update the tree and restart the build.

IcedTea and OpenJDK still cant cross compile out of the box. We have plans in the Jalimo project to upstream the patches and know-how from OpenEmbedded into IcedTea, but it takes time to turn quick hacks into nice solutions.
see: http://elinux.org/images/4/40/Cross-compiling_OpenJDK.pdf

Damjan:
Oracle are currently selling a proprietary ARM C1 and C2 Hotspot but they do not show any signs for what i know to release under GPL and push it out into OpenJDK.

While the work of updating the ARM ASM port are hard, I found it quite easy and quick to polish the current CACAO and JamVM projects to run fast on ARM in combination with OpenJDK. Also Pure Zero and Shark without the ASM ARM interpreter addon runs very stable on ARM.

Damjan asked about “plans for official ARM support in [Open]JDK”. Since Xerxes (tusen tack!) provided extensive information on the state of the various ARM backend combinations for OpenJDK, it fell to me to provide a pointer to information about the non-F/OSS rest… :)