Graal - first step
Rémi Forax
forax at univ-mlv.fr
Fri Mar 30 10:13:21 PDT 2012
Hi guys,
I've played a little with Graal and I've some questions (a lot in fact
but I will send several messages :)
First, I've deactivated the bootstrap code just because it was too painful
to wait before having the real code to be executed. I think the
bootstrap should
be guarded by a static final not enabled by default.
Also a code in the hotspot directory was not compiling because my gcc
emit a warning
when you shift a long (32bits) by 32, using a long long solve the issue.
See the diff at the end of this message.
I also think you should add a README_GRAAL.txt at the root to explain
that to compile Graal , we have to use mx.
That all for this message,
cheers,
Rémi
diff --git a/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
b/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
--- a/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
+++ b/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
@@ -313,7 +313,7 @@
if (thread->thread_state() == _thread_in_Java) {
// Throw a stack overflow exception. Guard pages will be
reenabled
// while unwinding the stack.
- if (WizardMode) tty->print("implicit: %08x%08x\n",
((long)pc) >> 32, pc);
+ if (WizardMode) tty->print("implicit: %08x%08x\n", ((long
long)pc) >> 32, pc);
stub =
SharedRuntime::continuation_for_implicit_exception(thread, pc,
SharedRuntime::STACK_OVERFLOW);
} else {
// Thread was in the vm or native code. Return and try to
finish.
More information about the graal-dev
mailing list