gamma and Interpreter
Volker Simonis
volker.simonis at gmail.com
Fri Nov 25 08:16:41 PST 2011
"jvmg1" builds the debug version of the C1 compiler, "jvmg" the debug
version of the C2 compiler.
I don't think there's any support for an "interpreter only" build.
A long time ago there was a "core" target which did an interpreter
only build but that has vanished (see bug "6812511: Allow
interpreter-only builds" at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6812511).
Setting "CC_INTERP=true" will build the C-Interpreter instead of the
default Template-Interpreter which isn't officially supported as well
and probably not what you want.
You can try to build "jvmgzero" which as far as I remember will build
the VM with the C-Interpreter and without compiler, but I don't know
what's the current status of Zero on x86. You may have a look at the
following links for more information on Zero:
http://openjdk.java.net/projects/zero/
http://today.java.net/pub/a/today/2009/05/21/zero-and-shark-openjdk-port.html
Regards,
Volker
On Fri, Nov 25, 2011 at 3:33 PM, Sebastian Sickelmann
<sebastian.sickelmann at gmx.de> wrote:
> Hi
>
> i actually try to prototype some thinks into the vm.
> Starting project setup from a description[1] how to debug hotspot i get
> something running put i think
> i run into an C2-Compiler issue of my change. To not complicate my prototype
> i want to use interpreter mode.
>
> But i cannot get it going(compiling)
>
> My Setup with i build my C2-Version is:
> DEBUG_NAME=debug LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk make jvmg1
>
> My Setup with i tried to build Interpreter-Version is:
> CC_INTERP=true DEBUG_NAME=debug LANG=C
> ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk make jvmg1
>
> I get the this [1] error, which i can fix but than i run into more[2]
> errors.
>
> [1]
> https://raw.github.com/gist/1393620/a2eb4327dee28a39e776409819664aab1307e829/CC_INTERP_ERROR1.log
> [2]
> https://raw.github.com/gist/1393645/f0fddaf6a83b44aa94827b2e72280e2959dc78fb/CC_INTERP_ERROR2.log
>
> I think i got something wrong in my setup.
>
> Some tips on how to build and test in interpreter mode would be fine.
>
> Kind regards
> Sebastian
>
More information about the hotspot-dev
mailing list