coroutine support
Rémi Forax
forax at univ-mlv.fr
Fri Nov 13 15:31:10 PST 2009
Hi Lukas, hi all,
C1 seems to work but not C2 (see further).
Furthermore by default, hotspot requires that package javax.stack exists
instead of gracefully disable coroutine if javax.stack is not here
(which is the case of the first build, i.e when you use jdk6 to compile
jdk7).
I will test it tomorrow,
Rémi
g++ -DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I../generated/adfiles
-I../generated/jvmtifiles
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/asm
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/c1
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/ci
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/classfile
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/code
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/compiler
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_implementation
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_implementation/parNew
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_implementation/g1
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_implementation/shared
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_implementation/parallelScavenge
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/gc_interface
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/interpreter
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/libadt
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/memory
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/oops
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/opto
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/prims -I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/runtime
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/services
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/utilities
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/cpu/x86/vm
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/os/linux/vm
-I/home/forax/java/workspace/coroutine/sources/hotspot/src/os_cpu/linux_x86/vm
-I../generated -DHOTSPOT_RELEASE_VERSION="\"17.0-b03-internal\""
-DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"forax\""
-DHOTSPOT_LIB_ARCH=\"i386\" -DJRE_RELEASE_VERSION="\"1.7.0\""
-DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DCOMPILER1 -fPIC
-fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m32 -march=i586
-pipe -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror
-Wpointer-arith -Wsign-compare -c -o compile.o
/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/opto/compile.cpp
/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/opto/compile.cpp:
In constructor ‘Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int,
bool, bool)’:
/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/opto/compile.cpp:681:
erreur: no matching function for call to
‘ciEnv::register_method(ciMethod*&, int&, CodeOffsets*, int&,
CodeBuffer*, int, OopMapSet*&, ExceptionHandlerTable*,
ImplicitExceptionTable*, C2Compiler*&, int, bool, bool)’
/home/forax/java/workspace/coroutine/sources/hotspot/src/share/vm/ci/ciEnv.hpp:273:
note: candidats sont: void ciEnv::register_method(ciMethod*, int,
CodeOffsets*, int, CodeBuffer*, int, int, OopMapSet*,
ExceptionHandlerTable*, ImplicitExceptionTable*, ContinuationPcTable*,
AbstractCompiler*, int, bool, bool)
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
More information about the mlvm-dev
mailing list