Merged revisions 8245-8298 via svnmerge from
svn+ssh://michi@c1.complang.tuwien.ac.at/ahome/cacao/svn/cacao/trunk
........
r8246 | michi | 2007-07-31 13:36:03 +0200 (Tue, 31 Jul 2007) | 2 lines
* src/vm/jit/sparc64/md.c: Fixed file header.
........
r8247 | michi | 2007-07-31 14:06:44 +0200 (Tue, 31 Jul 2007) | 10 lines
* src/vm/jit/arm/arch.h, src/vm/jit/powerpc/arch.h, src/vm/jit/sparc64/arch.h,
src/vm/jit/alpha/arch.h, src/vm/jit/s390/arch.h, src/vm/jit/mips/arch.h,
src/vm/jit/powerpc64/arch.h, src/vm/jit/i386/arch.h, src/vm/jit/x86_64/arch.h
(REPLACEMENT_STUB_SIZE): Removed obsolete define.
* src/vm/jit/powerpc/md.c, src/vm/jit/sparc64/md.c, src/vm/jit/alpha/md.c,
src/vm/jit/mips/md.c, src/vm/jit/powerpc64/md.c, src/vm/jit/i386/md.c,
src/vm/jit/x86_64/md.c
(md_patch_replacement_point): We have to use trap instructions here.
........
r8248 | twisti | 2007-07-31 14:47:11 +0200 (Tue, 31 Jul 2007) | 6 lines
* configure.ac: Only check AC_PROG_JAVAC and AC_PROG_JAR for CLDC-1.1
and GNU.
* m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_CLASSES): Changed default
value for different configurations..
........
r8249 | panzi | 2007-07-31 14:59:03 +0200 (Tue, 31 Jul 2007) | 257 lines
* src/lib/gnu/java/lang/reflect/Method.java
(annotations): Added.
(parameterAnnotations): Added.
(annotationDefault): Added.
* src/lib/gnu/java/lang/reflect/Field.java
(annotations): Added.
* src/lib/gnu/sun/reflect: New directory.
* src/lib/gnu/sun/reflect/generics: New directory.
* src/lib/gnu/sun/reflect/generics/parser: New directory.
* src/lib/gnu/sun/reflect/generics/parser/SignatureFormatError.java:
New file.
* src/lib/gnu/sun/reflect/generics/parser/SignatureParser.java:
New file. This class parses type signatures and returns the acording type
as a java.lang.Class instance.
* src/lib/gnu/sun/reflect/ConstantPool.java [WITH_CLASSPATH_GNU]:
New file.
* src/lib/gnu/sun/reflect/annotation: New directory.
* src/lib/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java
[WITH_CLASSPATH_GNU]: Copied file from OpenJDK.
* src/lib/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java
[WITH_CLASSPATH_GNU]: Copied file from OpenJDK.
* src/lib/gnu/sun/reflect/annotation/AnnotationParser.java
[WITH_CLASSPATH_GNU]: Copied file from OpenJDK and changed a bit so
it can be used with GNU Classpath.
[WITH_CLASSPATH_GNU] (parseAnnotationsIntoArray): Added for
convenience.
[WITH_CLASSPATH_GNU] (parseAnnotationDefault): Added for convenience.
* src/lib/gnu/sun/reflect/annotation/AnnotationType.java
[WITH_CLASSPATH_GNU]: Copied file from OpenJDK and changed a bit so
it can be used with GNU Classpath.
[WITH_CLASSPATH_GNU] (annotationTypes): Added to emulate
sun.misc.SharedSecrets.getJavaLangAccess().getAnnotationType() and
sun.misc.SharedSecrets.getJavaLangAccess().setAnnotationType().
* src/lib/Makefile.am [WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]: Added
classes needed by annotations support.
* src/native/vm/nativevm.h
[ENABLE_ANNOTATIONS] (_Jv_sun_reflect_ConstantPool_init): Added.
* src/native/vm/java_lang_Class.c
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (vmcore/annotation.h):
Include added.
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]
(native/include/sun_reflect_ConstantPool.h): Include added.
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]
(_Jv_java_lang_Class_getDeclaredAnnotations): Implemented.
* src/native/vm/gnu/java_lang_VMClass.c
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]
(Java_java_lang_VMClass_getDeclaredAnnotations): Implemented.
* src/native/vm/gnu/sun_reflect_ConstantPool.c [ENABLE_ANNOTATIONS]:
Added implementation of sun.reflect.ConstantPool class. This is an copy
of the according functions from src/native/vm/sun/jvm.c for I don't know
how to unify it better (needs to be discussed).
* src/native/vm/gnu/java_lang_reflect_Method.c
[ENABLE_ANNOTATIONS] (vm/vm.h): Added include.
[ENABLE_ANNOTATIONS] (native/include/sun_reflect_ConstantPool.h):
Added include.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Method_getDefaultValue):
Implemented.
* src/native/vm/gnu/Makefile.am
[ENABLE_ANNOTATIONS] (SUN_REFLECT_SOURCES): Added sun_reflect_ConstantPool.c
* src/native/vm/java_lang_Class.h
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]
(_Jv_java_lang_Class_getDeclaredAnnotations): Added.
* src/native/vm/sun/jvm.c
(assert.h): Added include.
(native/include/java_lang_Integer.h): Added include.
(native/include/java_lang_Long.h): Added include.
(native/include/java_lang_Short.h): Added include.
(native/include/java_lang_Byte.h): Added include.
(native/include/java_lang_Character.h): Added include.
(native/include/java_lang_Boolean.h): Added include.
(native/include/java_lang_Float.h): Added include.
(native/include/java_lang_Double.h): Added include.
[ENABLE_ANNOTATIONS] (native/include/sun_reflect_ConstantPool.h):
Added include.
(JVM_GetDeclaringClass): Implemented.
(JVM_GetClassAnnotations) [ENABLE_ANNOTATIONS]: Implemented.
(JVM_GetFieldAnnotations): Implemented.
(JVM_GetMethodAnnotations): Implemented.
(JVM_GetMethodDefaultAnnotationValue): Implemented.
(JVM_GetMethodParameterAnnotations): Implemented.
[ENABLE_ANNOTATIONS] (JVM_GetClassConstantPool): Implemented.
(JVM_ConstantPoolGetSize): Implemented.
(JVM_ConstantPoolGetClassAt): Implemented.
(JVM_ConstantPoolGetClassAtIfLoaded): Implemented.
(JVM_ConstantPoolGetMethodAt): Implemented.
(JVM_ConstantPoolGetMethodAtIfLoaded): Implemented.
(JVM_ConstantPoolGetFieldAt): Implemented.
(JVM_ConstantPoolGetFieldAtIfLoaded): Implemented.
(JVM_ConstantPoolGetIntAt): Implemented.
(JVM_ConstantPoolGetLongAt): Implemented.
(JVM_ConstantPoolGetFloatAt): Implemented.
(JVM_ConstantPoolGetDoubleAt): Implemented.
(JVM_ConstantPoolGetStringAt): Implemented.
(JVM_ConstantPoolGetUTF8At): Implemented.
(JVM_GetArrayElement): Quickly implemented (will be rewritten by
twisti). I needed this function in a testcase and not directly for
annotations support.
* src/native/vm/reflect.c
[ENABLE_ANNOTATIONS] (mm/memmory.h): Added include.
(reflect_constructor_new) [ENABLE_ANNOTATIONS]: Load annotations and
parameter annotations.
(reflect_field_new) [ENABLE_ANNOTATIONS]: Load annotations.
(reflect_method_new) [ENABLE_ANNOTATIONS]: Load annotations, parameter
annotations and annotation default value.
* src/native/vm/nativevm.c [WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]
(_Jv_sun_reflect_ConstantPool_init): Added call.
* src/native/include/Makefile.am
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (JAVASE_HEADER_FILES):
Added sun_reflect_ConstantPool.h
* src/vmcore/class.c
[ENABLE_ANNOTATIONS] (class_sun_reflect_ConstantPool): Added.
[ENABLE_ANNOTATIONS] (class_sun_reflect_annotation_AnnotationParser):
Added.
(class_load_attributes) [ENABLE_ANNOTATIONS]: Load annotations.
(class_free) [ENABLE_ANNOTATIONS]: Free annotations.
* src/vmcore/loader.c
(loader_init) [ENABLE_ANNOTATIONS]: Load
class_sun_reflect_ConstantPool.
(loader_init) [ENABLE_ANNOTATIONS] [WITH_CLASSPATH_GNU]: Load
class_sun_reflect_annotation_AnnotationParser.
* src/vmcore/annotation.c [!ENABLE_ANNOTATIONS]: Error: annotation
support has to be enabled when compling this file.
(assert.h): Added include.
(toolbox/logging.h): Added include.
(annotation_bytearray_new): Added.
(annotation_bytearray_free): Added.
(annotation_bytearrays_new): Added.
(annotation_bytearrays_resize): Added.
(annotation_bytearrays_insert): Added.
(annotation_bytearrays_free): Added.
(annotation_load_attribute_body): Added. Maybe this function should be
called loader_load_attribute_body and located in vmcore/loader.c?
(annotation_load_method_attribute_annotationdefault): Added.
(annotation_load_method_attribute_runtimevisibleparameterannotations):
Added.
(annotation_load_method_attribute_runtimeinvisibleparameterannotations):
Added.
(annotation_load_class_attribute_runtimevisibleannotations): Added.
(annotation_load_class_attribute_runtimeinvisibleannotations): Added.
(annotation_load_method_attribute_runtimevisibleannotations): Added.
(annotation_load_method_attribute_runtimeinvisibleannotations): Added.
(annotation_load_field_attribute_runtimevisibleannotations): Added.
(annotation_load_field_attribute_runtimeinvisibleannotations): Added.
* src/vmcore/class.h
[ENABLE_ANNOTATIONS] (runtimevisibleannotationscount): Removed.
[ENABLE_ANNOTATIONS] (runtimevisibleannotations): Removed.
[ENABLE_ANNOTATIONS] (annotations): Added. Bytearray of the unparsed
annotations or NULL if none.
[ENABLE_ANNOTATIONS] (method_annotations): Added. Array of bytearrays
of method annotations. This Array is only as big as needed or NULL if
there are no method annotations at all.
[ENABLE_ANNOTATIONS] (method_parameterannotations): Added. Array of bytearrays
of method parameter annotations. This Array is only as big as needed
or NULL if there are no method parameter annotations at all.
[ENABLE_ANNOTATIONS] (method_annotationdefaults): Added. Array of bytearrays
of method annotation default values. This Array is only as big as
needed or NULL if there are no method annotation default values at all.
[ENABLE_ANNOTATIONS] (field_annotations): Added. Array of bytearrays
of field annotations. This Array is only as big as needed or NULL if
there are no field annotations at all.
[ENABLE_ANNOTATIONS] (class_sun_reflect_ConstantPool): Added.
[ENABLE_ANNOTATIONS] [WITH_CLASSPATH_GNU]
(class_sun_reflect_annotation_AnnotationParser): Added.
* src/vmcore/annotation.h
(annotation_bytearray_t): Added. Used to store unparsed (parameter-) annotations or
unparsed annotation default values in.
(annotation_bytearrays_t): Added. Array of bytearrays.
(annotation_bytearray_new): Added.
(annotation_bytearray_free): Added.
(annotation_bytearrays_new): Added.
(annotation_bytearrays_resize): Added.
(annotation_bytearrays_insert): Added.
(annotation_bytearrays_free): Added.
(annotation_load_class_attribute_runtimeinvisibleannotations): Added.
(annotation_load_method_attribute_runtimevisibleannotations): Added.
(annotation_load_method_attribute_runtimeinvisibleannotations): Added.
(annotation_load_field_attribute_runtimevisibleannotations): Added.
(annotation_load_field_attribute_runtimeinvisibleannotations): Added.
(annotation_load_method_attribute_annotationdefault): Added.
(annotation_load_method_attribute_runtimevisibleparameterannotations):
Added.
(annotation_load_method_attribute_runtimeinvisibleparameterannotations):
Added.
* src/vmcore/method.c
(method_load) [ENABLE_ANNOTATIONS]: Load annotations, parameter
annotations and annotation default values.
[ENABLE_ANNOTATIONS] (method_get_annotations): Added.
[ENABLE_ANNOTATIONS] (method_get_parameterannotations): Added.
[ENABLE_ANNOTATIONS] (method_get_annotationdefault): Added.
* src/vmcore/method.h
[ENABLE_ANNOTATIONS] (method_get_annotations): Added.
[ENABLE_ANNOTATIONS] (method_get_parameterannotations): Added.
[ENABLE_ANNOTATIONS] (method_get_annotationdefault): Added.
* src/vmcore/field.c
(mm/memory.h): Added include.
(vmcore/annotations.h): Added include.
(field_load) [ENABLE_ANNOTATIONS]: Laod annotations.
[ENABLE_ANNOTATIONS] (field_get_annotations): Added.
* src/vmcore/utf8.c
[ENABLE_ANNOTATIONS] (utf_sun_reflect_ConstantPool): Added.
[ENABLE_ANNOTATIONS] (utf_RuntimeInvisibleAnnotations): Added.
[ENABLE_ANNOTATIONS] (utf_RuntimeVisibleParameterAnnotations): Added.
[ENABLE_ANNOTATIONS] (utf_RuntimeInvisibleParameterAnnotations):
Added.
[ENABLE_ANNOTATIONS] (utf_AnnotationDefault): Added.
[ENABLE_ANNOTATIONS] [WITH_CLASSPATH_GNU]
(utf_sun_reflect_annotation_AnnotationParser): Added.
* src/vmcore/field.h
[ENABLE_ANNOTATIONS] (field_get_annotations): Added.
* src/vmcore/Makefile.am
[ENABLE_ANNOTATIONS] (ANNOTATION_SOURCES): Only compile annotations
sources when annotations are enabled.
* src/vmcore/utf8.h
[ENABLE_ANNOTATIONS] (utf_sun_reflect_ConstantPool): Added.
[ENABLE_ANNOTATIONS] (utf_RuntimeInvisibleAnnotations): Added.
[ENABLE_ANNOTATIONS] (utf_RuntimeVisibleParameterAnnotations): Added.
[ENABLE_ANNOTATIONS] (utf_RuntimeInvisibleParameterAnnotations):
Added.
[ENABLE_ANNOTATIONS] (utf_AnnotationDefault): Added.
[ENABLE_ANNOTATIONS] [WITH_CLASSPATH_GNU]
(utf_sun_reflect_annotation_AnnotationParser): Added.
* configure.ac (ENABLE_ANNOTATIONS): Added configure option --enable-annotations.
........
r8250 | twisti | 2007-07-31 15:16:43 +0200 (Tue, 31 Jul 2007) | 3 lines
* m4/annotations.m4: New file.
* configure.ac: Use AC_CHECK_ENABLE_ANNOTATIONS.
........
r8251 | pm | 2007-08-01 17:26:59 +0200 (Wed, 01 Aug 2007) | 9 lines
* jit/patcher.h: Added #error if included on s390.
* jit/patcher-common.h: Made declarations visible on s390.
* jit/s390/asmpart.S (asm_patcher_wrapper): removed.
* jit/s390/emit.c (emit_patcher_stubs): removed, (emit_patcher_traps): added.
* jit/s390/codegen.h (PATCHER_LONGBRANCHES_NOPS_SKIP, PATCHER_LONGBRANCHES_NOPS): removed, (PATCHER_CALL_SIZE, PATCHER_NOPS, PATCHER_NOPS_SKIP) adapted to patching via signals.
* jit/s390/codegen.c (codegen_emit, codegen_emit_stub_native): Adapted to paching via signals.
* jit/s390/md.c (md_signal_handler_sigill, md_signal_handler_sigsegv): added support for exceptions_new_hardware_exception returning NULL.
* jit/s390/patcher.c: Adapted to paching via signals.
........
r8252 | twisti | 2007-08-02 00:47:17 +0200 (Thu, 02 Aug 2007) | 5 lines
* m4/ac_prog_javac.m4 (AC_PROG_JAVAC): Removed -1.5 from ecj.
* src/lib/Makefile.am (vm.zip): Added -source 1.5 -target 1.5. Thanks
to Mark Wielaard.
........
r8253 | twisti | 2007-08-02 16:46:00 +0200 (Thu, 02 Aug 2007) | 2 lines
* src/native/vm/sun/jvm.c (JVM_RaiseSignal): New function.
........
r8254 | pm | 2007-08-03 20:43:30 +0200 (Fri, 03 Aug 2007) | 3 lines
* src/vm/jit/patcher-common.c (patcher_handler): Call LOCK_MONITOR_EXIT instead of LOCK_MONITOR_ENTER in double-patching handler code.
........
r8255 | michi | 2007-08-03 21:06:37 +0200 (Fri, 03 Aug 2007) | 7 lines
* src/vm/jit/patcher-common.c (patcher_list_reset): Added.
(patcher_add_patch_ref) [!NDEBUG]: Added sanity check.
* src/vm/jit/patcher-common.h (patcher_list_reset): Added.
* src/vm/jit/codegen-common.c (codegen_reset): Resets the patcher list.
........
r8256 | twisti | 2007-08-05 12:58:21 +0200 (Sun, 05 Aug 2007) | 3 lines
* src/native/vm/sun/jvm.c (JVM_Available) [FIONREAD]: Use
HotSpot-compatible code.
........
r8257 | twisti | 2007-08-05 13:04:21 +0200 (Sun, 05 Aug 2007) | 4 lines
* src/vm/jit/patcher-common.c (stdint.h): Added.
(patcher_list_free): Removed unused variable pr.
(patcher_add_patch_ref): Fixed warning.
........
r8258 | edwin | 2007-08-05 22:15:27 +0200 (Sun, 05 Aug 2007) | 2 lines
* src/vm/jit/replace.c (replace_new_sourceframe): Fixed documentation.
........
r8259 | edwin | 2007-08-05 22:41:25 +0200 (Sun, 05 Aug 2007) | 3 lines
* src/vm/jit/replace.c (replace_read_executionstate): Improved comments.
(replace_write_executionstate): Likewise.
........
r8260 | michi | 2007-08-06 14:19:01 +0200 (Mon, 06 Aug 2007) | 13 lines
* src/vm/jit/emit-common.c (emit_patcher_traps): Added.
* src/vm/jit/emit-common.h (emit_trap): Added prototype.
* src/vm/jit/alpha/emit.c (emit_patcher_traps): Removed (moved to emit-common).
(emit_trap): Implemented.
* src/vm/jit/arm/emit.c: Likewise.
* src/vm/jit/powerpc/emit.c: Likewise.
* src/vm/jit/s390/emit.c: Likewise.
........
r8261 | michi | 2007-08-06 14:42:31 +0200 (Mon, 06 Aug 2007) | 3 lines
* src/vm/jit/codegen-common.c (codegen_add_patch_ref): Removed obsolete code
about PATCHER_LONGBRANCHES_NOPS.
........
r8262 | panzi | 2007-08-06 14:44:01 +0200 (Mon, 06 Aug 2007) | 97 lines
* src/lib/gnu/java/lang/reflect/Method.java
(java.lang.annotation.Annotation): Added import.
(java.util.Map): Added import.
(sun.refelct.annotation.AnnotationParser): Added import.
(declaredAnnotations): Added field (inspired by OpenJDK).
(getAnnotation): Added method.
(getDeclaredAnnotations): Added method.
(declaredAnnotations): Added method (inspired by OpenJDK).
(getParameterAnnotations): Added method.
* src/lib/gnu/java/lang/reflect/Field.java
(java.lang.annotation.Annotation): Added import.
(java.util.Map): Added import.
(sun.refelct.annotation.AnnotationParser): Added import.
(declaredAnnotations): Added field (inspired by OpenJDK).
(getAnnotation): Added method.
(getDeclaredAnnotations): Added method.
(declaredAnnotations): Added method (inspired by OpenJDK).
* src/lib/gnu/java/lang/reflect/Constructor.java:
Copied file from GNU Classpath.
(java.lang.annotation.Annotation): Added import.
(java.util.Map): Added import.
(sun.refelct.annotation.AnnotationParser): Added import.
(declaredAnnotations): Added field (inspired by OpenJDK).
(getAnnotation): Added method.
(getDeclaredAnnotations): Added method.
(declaredAnnotations): Added method (inspired by OpenJDK).
(getParameterAnnotations): Added method.
* src/lib/gnu/sun/reflect/generics/parser/SignatureFormatError.java:
Removed.
* src/lib/gnu/sun/reflect/generics/parser/SignatureParser.java:
Removed. I figured out which class of GNU Classpath to use to replace
this self written class.
* src/lib/gnu/sun/reflect/annotation/AnnotationParser.java:
Added a few comments.
(sun.reflect.generics.parser.SignatureParser): Removed import.
(sun.reflect.generics.parser.SignatureFormatError): Removed import.
(gnu.java.lang.reflect.FieldSignatureParser): Added import.
(parseParameterAnnotations): Added method.
(parseSig): Changed method so it uses GNU Classpaths FieldSignatureParser.
* src/lib/Makefile.am
(VM_JAVA_FILES): Added $(top_srcdir)/src/lib/gnu/java/lang/reflect/Constructor.java
(VM_CLASS_FILES): Added classes/java/lang/reflect/Constructor.class
* src/native/vm/java_lang_Class.c
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS]
(_Jv_java_lang_Class_getDeclaredAnnotations): Cache methodinfo for
sun.reflect.annotation.AnnotationParser.parseAnnotationsIntoArray.
* src/native/vm/gnu/java_lang_reflect_Method.c
[ENABLE_ANNOTATIONS] (native/vm/reflect.h): Added include.
[ENABLE_ANNOTATIONS] (declaredAnnotations): Added method.
[ENABLE_ANNOTATIONS] (getParameterAnnotations): Added method.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Method_getDefaultValue):
Cache methodinfo for sun.reflect.annotation.AnnotationParser.parseDefaultValue.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Method_declaredAnnotations): Added.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Method_getParameterAnnotations): Added.
* src/native/vm/gnu/java_lang_reflect_Field.c
[ENABLE_ANNOTATIONS] (native/include/sun_reflect_ConstantPool.h): Added include.
[ENABLE_ANNOTATIONS] (native/vm/reflect.h): Added include.
[ENABLE_ANNOTATIONS] (declaredAnnotations): Added method.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Field_declaredAnnotations): Added.
* src/native/vm/gnu/java_lang_reflect_Constructor.c
[ENABLE_ANNOTATIONS] (vm/vm.h): Added include.
[ENABLE_ANNOTATIONS] (native/include/sun_reflect_ConstantPool.h): Added include.
[ENABLE_ANNOTATIONS] (native/vm/reflect.h): Added include.
[ENABLE_ANNOTATIONS] (declaredAnnotations): Added method.
[ENABLE_ANNOTATIONS] (getParameterAnnotations): Added method.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Constructor_declaredAnnotations): Added.
[ENABLE_ANNOTATIONS] (Java_java_lang_reflect_Constructor_getParameterAnnotations): Added.
* src/native/vm/reflect.c
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (vm/vm.h): Added include.
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (native/include/sun_reflect_ConstantPool.h): Added include.
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (reflect_get_declaredannotatios): Added.
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (reflect_get_parameterannotations): Added.
* src/native/vm/reflect.h
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (reflect_get_declaredannotatios): Added.
[WITH_CLASSPATH_GNU] [ENABLE_ANNOTATIONS] (reflect_get_parameterannotations): Added.
* src/native/vm/sun/jvm.c
(JVM_GetDeclaredClasses): Implemented (needed by a testcase of mine).
* src/vmcore/method.c (method_get_parametercount): Added.
This function gets the parameter count of a method (not counting the
this pointer of non-static methods). Returns -1 in case of an error.
* src/vmcore/method.h (method_get_parametercount): Added.
........
r8263 | twisti | 2007-08-06 16:41:05 +0200 (Mon, 06 Aug 2007) | 3 lines
* src/vm/jit/mips/arch.h (SUPPORT_PASS_FLOATARGS_IN_INTREGS): Removed
duplicate define.
........
r8264 | twisti | 2007-08-06 18:02:28 +0200 (Mon, 06 Aug 2007) | 33 lines
* src/vm/jit/patcher-common.h: Added __MIPS__ for new patcher
functions.
* src/vm/jit/patcher.h: Added __MIPS__ to include-check.
* src/vm/jit/mips/emit.c (vm/jit/patcher-common.h): Added.
(emit_patcher_stubs): Removed.
(emit_trap): Added.
* src/vm/jit/mips/codegen.c (vm/jit/patcher.h): Removed.
(vm/jit/patcher-common.h): Added.
(codegen_emit): Replaced codegen_add_patch_ref with
patcher_add_patch_ref, and emit_patcher_stubs with emit_patcher_traps.
(codegen_emit_stub_native): Likewise.
* src/vm/jit/mips/codegen.h (PATCHER_CALL_INSTRUCTIONS): Changed to 1.
(PATCHER_CALL_SIZE): Changed to 1*4.
(PATCHER_NOPS): Emit only one NOP.
* src/vm/jit/mips/linux/md-os.c (md_signal_handler_sigsegv): Check for
exception, set PC in trap-case.
* src/vm/jit/mips/irix/md-os.c (md_signal_handler_sigsegv): Check for
exception.
* src/vm/jit/mips/patcher.c: Renamed function to new patcher
functions, and use patcher references.
(vm/jit/patcher.h): Removed.
(vm/jit/patcher-common.h): Added
(patcher_wrapper): Removed.
* src/vm/jit/mips/asmpart.S (asm_patcher_wrapper): Removed.
........
r8265 | twisti | 2007-08-06 18:10:42 +0200 (Mon, 06 Aug 2007) | 3 lines
* src/vm/jit/emit-common.c: Set Id keyword.
* src/vm/jit/emit-common.h: Likewise.
........
r8266 | twisti | 2007-08-07 10:26:38 +0200 (Tue, 07 Aug 2007) | 3 lines
* src/threads/threads-common.c (threads_preinit): Fixed compiler
warning.
........
r8267 | twisti | 2007-08-07 13:07:48 +0200 (Tue, 07 Aug 2007) | 4 lines
* src/vm/jit/i386/emit.c (emit_trap): New function.
* src/vm/jit/powerpc64/emit.c: Likewise.
* src/vm/jit/x86_64/emit.c: Likewise.
........
r8268 | twisti | 2007-08-07 15:24:43 +0200 (Tue, 07 Aug 2007) | 34 lines
* src/vmcore/field.c (mm/memory.h): Added.
(vm/global.h): Likewise.
(field_load): Allocate value memory only for static and final fields.
* src/vmcore/field.h (fieldinfo): Made value a pointer.
* src/vmcore/loader.c (load_class_from_classbuffer): Allocate
fieldinfo's on the C heap.
* src/native/jni.c: fieldinfo->value is now a pointer.
* src/native/vm/sun_misc_Unsafe.c: Likewise.
* src/native/vm/gnu/java_lang_reflect_Field.c: Likewise.
* src/vm/jit/alpha/codegen.c,
src/vm/jit/alpha/patcher.c,
src/vm/jit/arm/codegen.c,
src/vm/jit/arm/patcher.c,
src/vm/jit/i386/codegen.c,
src/vm/jit/i386/patcher.c,
src/vm/jit/m68k/codegen.c,
src/vm/jit/m68k/patcher.c,
src/vm/jit/mips/codegen.c,
src/vm/jit/mips/patcher.c,
src/vm/jit/powerpc/codegen.c,
src/vm/jit/powerpc/patcher.c,
src/vm/jit/powerpc64/codegen.c,
src/vm/jit/powerpc64/patcher.c,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/patcher.c,
src/vm/jit/sparc64/codegen.c,
src/vm/jit/sparc64/patcher.c,
src/vm/jit/x86_64/codegen.c,
src/vm/jit/x86_64/patcher.c: Likewise.
........
r8269 | twisti | 2007-08-07 21:21:33 +0200 (Tue, 07 Aug 2007) | 3 lines
* tests/rtMissedIn0: Removed.
* tests/rtIn: Likewise.
........
r8270 | twisti | 2007-08-08 15:57:12 +0200 (Wed, 08 Aug 2007) | 49 lines
* src/vm/vm.c (vm_array_store_flt): Handle __POWERPC__ correctly.
(vm_vmargs_from_valist): Removed.
(vm_vmargs_from_jvalue): Likewise.
(vm_vmargs_from_objectarray): Likewise.
(vm_call_method_vmarg): Likewise.
(vm_call_method_int_vmarg): Likewise.
(vm_call_method_int_valist): Likewise.
(vm_call_method_int_jvalue): Likewise.
(vm_call_method_long_vmarg): Likewise.
(vm_call_method_long_valist): Likewise.
(vm_call_method_long_jvalue): Likewise.
(vm_call_method_float_vmarg): Likewise.
(vm_call_method_float_valist): Likewise.
(vm_call_method_float_jvalue): Likewise.
(vm_call_method_double_vmarg): Likewise.
(vm_call_method_double_valist): Likewise.
(vm_call_method_double_jvalue): Likewise.
(vm_call_method_valist): Removed old implementation.
(vm_call_method_jvalue): Likewise.
* src/vm/vm.h: Removed old prototypes.
* src/vm/jit/asmpart.h: Likewise.
* src/vm/exceptions.c (exceptions_handle_exception) [__POWERPC__]: Get
monitor object correctly (talk to Michi because of ARM).
* src/native/jni.c (_Jv_jni_invokeNative): Removed old implementation.
* src/vm/jit/powerpc/linux/md-abi.c (md_param_alloc): Use 8-byte
stackslots.
(md_param_alloc_native): Implemented native ABI.
* src/vm/jit/powerpc/emit.c (emit_load): Merged TYPE_FLT and TYPE_DBL.
(emit_store): Likewise
* src/vm/jit/powerpc/darwin/md-abi.c: Likewise.
* src/vm/jit/powerpc/arch.h (HAS_4BYTE_STACKSLOT): Removed.
(ALIGN_LONGS_IN_MEMORY): Likewise.
(ALIGN_DOUBLES_IN_MEMORY): Likewise.
* src/vm/jit/powerpc/codegen.c: Implemented 8-byte stackslots, always
load and store float-values as double (PowerPC's internal register
representation is the same).
* src/vm/jit/powerpc/asmpart.S (asm_vm_call_method): Use new argument
array.
(asm_handle_exception): Restore callee-saved registers from the
correct location.
........
r8271 | twisti | 2007-08-08 16:07:56 +0200 (Wed, 08 Aug 2007) | 7 lines
* src/vm/vm.h (vm_arg): Removed.
* src/vm/jit/tools/genoffsets.c (main): Removed sizevmarg,
offvmargtype and offvmargdata.
* src/vm/jit/m68k/md.c (md_init): Removed some obsolete checks.
........
r8272 | twisti | 2007-08-08 16:55:00 +0200 (Wed, 08 Aug 2007) | 7 lines
* src/threads/threads-common.c (stdint.h): Added.
(threads_thread_free): Also save and restore the thread state (this is
required for CLDC1.1, but is generally a good idea).
* src/native/vm/java_lang_Thread.c (isAlive) [WITH_CLASSPATH_CLDC1_1]:
Check for NULL.
........
r8273 | twisti | 2007-08-08 17:33:15 +0200 (Wed, 08 Aug 2007) | 8 lines
* src/vmcore/class.c (class_isanysubclass): Don't use
ASM_GETCLASSVALUES_ATOMIC anymore, we will change that to use the
class-renumbering lock.
* src/vm/builtin.c (builtin_canstore): Likewise.
(builtin_canstore_onedim): Likewise.
(builtin_canstore_onedim_class): Likewise.
........
r8274 | twisti | 2007-08-08 17:58:17 +0200 (Wed, 08 Aug 2007) | 45 lines
* src/vm/jit/tools: Removed.
* configure.ac (AC_CONFIG_FILES): Removed src/vm/jit/tools/Makefile.
* src/vm/jit/Makefile.am (DIST_SUBDIRS): Removed tools.
(SUBDIRS): Likewise.
* src/threads/critical.c (stdint.h): Added.
(vm/jit/asmpart.h): Removed.
(critical_init): Don't call critical_register_asm_critical_sections.
(critical_register_asm_critical_sections): Removed.
* src/vm/jit/asmpart.h (ASM_GETCLASSVALUES_ATOMIC): Removed.
(asm_criticalsections): Likewise.
(asm_getclassvalues_atomic): Likewise.
(intrp_asm_getclassvalues_atomic): Likewise.
* src/vm/jit/alpha/Makefile.am,
src/vm/jit/arm/Makefile.am,
src/vm/jit/i386/Makefile.am,
src/vm/jit/m68k/Makefile.am,
src/vm/jit/mips/Makefile.am,
src/vm/jit/powerpc/Makefile.am,
src/vm/jit/powerpc64/Makefile.am,
src/vm/jit/s390/Makefile.am,
src/vm/jit/sparc64/Makefile.am,
src/vm/jit/x86_64/Makefile.am (BUILT_SOURCES): Removed
(CLEANFILES): Likewise.
(offsets.h): Likewise.
* src/vm/jit/alpha/asmpart.S,
src/vm/jit/arm/asmpart.S,
src/vm/jit/i386/asmpart.S,
src/vm/jit/m68k/asmpart.S,
src/vm/jit/mips/asmpart.S,
src/vm/jit/powerpc/asmpart.S,
src/vm/jit/powerpc64/asmpart.S,
src/vm/jit/s390/asmpart.S,
src/vm/jit/sparc64/asmpart.S,
src/vm/jit/x86_64/asmpart.S (offsets.h): Removed.
(asm_getclassvalues_atomic): Likewise.
(asm_criticalsections): Likewise.
* src/vm/jit/powerpc/darwin/md-asm.h (asm_criticalsections): Removed.
(asm_getclassvalues_atomic): Likewise.
........
r8275 | twisti | 2007-08-08 18:05:40 +0200 (Wed, 08 Aug 2007) | 12 lines
* src/vm/jit/alpha,
src/vm/jit/arm,
src/vm/jit/i386,
src/vm/jit/m68k,
src/vm/jit/mips,
src/vm/jit/parisc,
src/vm/jit/powerpc,
src/vm/jit/powerpc64,
src/vm/jit/s390,
src/vm/jit/sparc64,
src/vm/jit/x86_64 (svn:ignore): Removed offsets.h.
........
r8276 | twisti | 2007-08-08 18:09:14 +0200 (Wed, 08 Aug 2007) | 2 lines
* src/vm/jit/arm/asmpart.S (offsets.h): Removed.
........
r8277 | michi | 2007-08-08 18:42:11 +0200 (Wed, 08 Aug 2007) | 9 lines
* src/vmcore/linker.c (linker_compute_subclasses): Added attention notice about
the locking mechanism.
* src/vmcore/class.c (class_isanysubclass): Uses linker_classrenumber_lock now.
* src/vm/builtin.c (builtin_canstore): Likewise.
(builtin_canstore_onedim): Likewise.
(builtin_canstore_onedim_class): Likewise.
........
r8278 | michi | 2007-08-08 19:10:18 +0200 (Wed, 08 Aug 2007) | 5 lines
* src/vm/jit/s390/emit.c (emit_replacement_stubs): Removed obsolete function.
* src/vm/jit/s390/codegen.c (codegen_emit): Do not create replacement stubs.
* src/vm/jit/replace.c (replace_me): No longer call asm_replacement_in.
* src/vm/jit/asmpart.h [ENABLE_REPLACEMENT]: Removed obsolete prototypes.
........
r8279 | michi | 2007-08-09 11:36:57 +0200 (Thu, 09 Aug 2007) | 7 lines
* src/vm/jit/alpha/linux/md-os.c
[ENABLE_REPLACEMENT] (md_replace_executionstate_read): Implemented.
[ENABLE_REPLACEMENT] (md_replace_executionstate_write): Likewise.
* src/vm/jit/alpha/asmpart.S (asm_replacement_out): Removed.
(asm_replacement_in): Likewise.
........
r8280 | twisti | 2007-08-09 13:28:51 +0200 (Thu, 09 Aug 2007) | 2 lines
* NEWS: Added 0.99 release and some news.
........
r8281 | twisti | 2007-08-09 14:09:17 +0200 (Thu, 09 Aug 2007) | 2 lines
* NEWS: Added news.
........
r8282 | twisti | 2007-08-09 14:18:47 +0200 (Thu, 09 Aug 2007) | 7 lines
* src/vm/signal.c (vm/types.h): Removed.
(signal_init): Use signal_register_signal.
(signal_register_signal): New function.
* src/vm/signallocal.h (vm/types.h): Removed.
(signal_register_signal): New function.
........
r8283 | twisti | 2007-08-09 17:10:05 +0200 (Thu, 09 Aug 2007) | 30 lines
* src/vm/exceptions.c (toolbox/logging.h): Removed.
(vm/jit/disass.h): Likewise.
(exceptions_new_hardware_exception): Likewise.
* src/vm/exceptions.h (exceptions_new_hardware_exception): Likewise.
* src/vm/signal.c (stdint.h): Added.
(toolbox/logging.h): Likewise.
(vm/jit/codegen-common.h): Likewise.
(vm/jit/disass.h): Likewise.
(vm/jit/patcher-common.h): Likewise.
(signal_handle): New function.
* src/vm/signallocal.h (signal_handle): Likewise.
* src/vm/jit/alpha/linux/md-os.c,
src/vm/jit/arm/linux/md-os.c,
src/vm/jit/i386/darwin/md-os.c,
src/vm/jit/i386/linux/md-os.c,
src/vm/jit/m68k/linux/md-os.c,
src/vm/jit/mips/irix/md-os.c,
src/vm/jit/mips/linux/md-os.c,
src/vm/jit/powerpc/darwin/md-os.c,
src/vm/jit/powerpc/linux/md-os.c,
src/vm/jit/powerpc64/linux/md-os.c,
src/vm/jit/s390/md.c,
src/vm/jit/sparc64/linux/md-os.c,
src/vm/jit/sparc64/solaris/md-os.c,
src/vm/jit/x86_64/linux/md-os.c: Use new signal_handle function.
........
r8284 | michi | 2007-08-10 10:58:39 +0200 (Fri, 10 Aug 2007) | 26 lines
* src/native/llni.h: Added LLNI (low level native interface).
Use LLNI macros throughout the whole codebase:
* src/vm/jit/stacktrace.c
* src/vm/string.c
* src/vm/builtin.c
* src/vm/exceptions.c
* src/vm/vm.c
* src/native/jni.c
* src/native/vm/java_lang_ClassLoader.c
* src/native/vm/java_lang_Class.c
* src/native/vm/java_lang_String.c
* src/native/vm/java_lang_Object.c
* src/native/vm/gnu/java_lang_VMThread.c
* src/native/vm/gnu/java_lang_reflect_Method.c
* src/native/vm/gnu/java_lang_reflect_Field.c
* src/native/vm/gnu/java_lang_reflect_Constructor.c
* src/native/vm/gnu/java_lang_VMThrowable.c
* src/native/vm/java_lang_Thread.c
* src/native/vm/sun_misc_Unsafe.c
* src/native/vm/reflect.c
* src/native/vm/java_lang_reflect_Method.c
* src/native/vm/java_lang_reflect_Constructor.c
* src/threads/threads-common.c
* src/threads/native/threads.c
........
r8285 | michi | 2007-08-10 11:20:04 +0200 (Fri, 10 Aug 2007) | 5 lines
* src/native/vm/gnu/java_lang_reflect_Method.c: Fixed merge problem in
previous revision 8284.
* src/native/vm/gnu/java_lang_reflect_Constructor.c: Likewise.
........
r8286 | michi | 2007-08-10 12:46:17 +0200 (Fri, 10 Aug 2007) | 9 lines
* src/vm/jit/powerpc/patcher.c (patcher_get_putfield): Fixed severe bug for
unalligned long field offsets.
* src/vmcore/linker.c [__POWERPC__ && __DARWIN__]: Long fields are 4-byte
alligned in structs.
* src/vm/jit/patcher-common.c [TRACE_PATCHER]: Left patcher trace code hanging
around, might come handy again.
........
r8287 | twisti | 2007-08-10 17:10:29 +0200 (Fri, 10 Aug 2007) | 2 lines
* src/native/jni.c (_Jv_JNI_FromReflectedField): Added missing ;.
........
r8288 | twisti | 2007-08-10 17:12:00 +0200 (Fri, 10 Aug 2007) | 34 lines
* src/vmcore/primitive.c: Removed.
* src/vmcore/primitive.h: Likewise.
* src/vmcore/Makefile.am (libvmcore_la_SOURCES): Removed
primitive.[ch].
* src/vmcore/primitivecore.c: New file.
* src/vm/primitive.c: Likwise.
* src/vm/primitive.h: Likewise.
* src/vm/Makefile.am (libvm_la_SOURCES): Added primitive.[ch].
* src/cacaoh/dummy.c (vm/primitive.h): Added.
(primitive_class_get_by_type): New function.
(primitive_class_get_by_char): Likewise.
* src/native/jni.c,
src/native/vm/gnu/java_lang_VMClassLoader.c,
src/native/vm/gnu/java_lang_reflect_Field.c,
src/native/vm/java_lang_Class.c,
src/native/vm/sun/jvm.c,
src/vm/builtin.c,
src/vm/jit/verify/typecheck-stackbased.c,
src/vm/jit/verify/typecheck-typeinferer.c,
src/vm/jit/verify/typecheck.c,
src/vm/jit/verify/typeinfo.c,
src/vm/resolve.c,
src/vm/string.c,
src/vm/vm.c,
src/vmcore/descriptor.c,
src/vmcore/field.c,
src/vmcore/linker.c,
src/vmcore/loader.c: Changed primitive.h include.
........
r8289 | twisti | 2007-08-10 17:18:05 +0200 (Fri, 10 Aug 2007) | 3 lines
* src/native/vm/reflect.c (reflect_field_new): Fixed compilation.
(reflect_method_new): Likewise.
........
r8290 | twisti | 2007-08-11 12:25:40 +0200 (Sat, 11 Aug 2007) | 6 lines
* src/native/vm/sun/jvm.c (JVM_GC): Call GC-call directly, use
TRACEJVMCALLS.
(JVM_TotalMemory): Likewise.
(JVM_FreeMemory): Likewise.
(JVM_NewArray): Use TRACEJVMCALLS.
........
r8291 | twisti | 2007-08-11 12:43:45 +0200 (Sat, 11 Aug 2007) | 41 lines
* src/vm/primitive.c (native/jni.h): Added.
(native/llni.h): Likewise.
(native/include/java_lang_Boolean.h,
native/include/java_lang_Byte.h,
native/include/java_lang_Short.h,
native/include/java_lang_Character.h,
native/include/java_lang_Integer.h,
native/include/java_lang_Long.h,
native/include/java_lang_Float.h,
native/include/java_lang_Double.h): Likewise.
(vm/builtin.h): Likewise.
(vm/vm.h): Likewise.
(primitive_box): New function.
(primitive_unbox): Likewise.
(PRIMITIVE_BOX_TYPE): New macro for primitive_box_xxx functions.
(PRIMITIVE_UNBOX_TYPE): New macro for primitive_unbox_xxx functions.
* src/vm/primitive.h (primitive_box): Added.
(primitive_unbox): Likewise.
(primitive_box_boolean,
primitive_box_byte,
primitive_box_char,
primitive_box_short,
primitive_box_int,
primitive_box_long,
primitive_box_float,
primitive_box_double): Likewise.
(primitive_unbox_boolean,
primitive_unbox_byte,
primitive_unbox_char,
primitive_unbox_short,
primitive_unbox_int,
primitive_unbox_long,
primitive_unbox_float,
primitive_unbox_double): Likewise.
* src/native/jni.c (_Jv_jni_invokeNative): Use primitive-box
functions.
* src/native/vm/gnu/java_lang_reflect_Field.c (get): Likewise.
........
r8292 | twisti | 2007-08-11 14:39:28 +0200 (Sat, 11 Aug 2007) | 13 lines
* src/vm/vm.c (VM_CALL_METHOD): New macro.
(VM_CALL_METHOD_VALIST): Likewise.
(VM_CALL_METHOD_JVALUE): Likewise.
(VM_CALL_ARRAY): Likewise.
* src/vm/vm.h (vm_call_method_int): Changed return type to
stdint-type.
(vm_call_method_int_valist): Likewise.
(vm_call_method_int_jvalue): Likewise.
(vm_call_method_long): Likewise.
(vm_call_method_long_valist): Likewise.
(vm_call_method_long_jvalue): Likewise.
........
r8293 | twisti | 2007-08-11 14:40:22 +0200 (Sat, 11 Aug 2007) | 2 lines
* src/vm/vm.h: Set Id keyword.
........
r8294 | ajordan | 2007-08-11 15:42:25 +0200 (Sat, 11 Aug 2007) | 6 lines
* src/vm/jit/sparc64/md-abi.c (md_param_alloc_native): Fixed pending issue from
regoff change.
* src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Likewise.
* src/vm/jit/sparc64/emit.c (emit_trap): Added.
........
r8295 | michi | 2007-08-11 19:57:24 +0200 (Sat, 11 Aug 2007) | 106 lines
* src/vm/global.h (java_handle_t): Added typedef.
(java_object_t): New name for what was formerly known as java_objectheader.
Adapted to above changes and decided where to use handles:
* src/vm/initialize.c
* src/vm/properties.h
* src/vm/jit/arm/codegen.c
* src/vm/jit/powerpc/codegen.c
* src/vm/jit/codegen-common.h
* src/vm/jit/sparc64/codegen.c
* src/vm/jit/sparc64/patcher.c
* src/vm/jit/alpha/codegen.c
* src/vm/jit/optimizing/recompile.c
* src/vm/jit/patcher-common.c
* src/vm/jit/s390/codegen.c
* src/vm/jit/show.c
* src/vm/jit/patcher-common.h
* src/vm/jit/mips/codegen.c
* src/vm/jit/patcher.h
* src/vm/jit/m68k/codegen.c
* src/vm/jit/powerpc64/codegen.c
* src/vm/jit/i386/codegen.c
* src/vm/jit/i386/patcher.c
* src/vm/jit/replace.c
* src/vm/jit/asmpart.h
* src/vm/jit/x86_64/codegen.c
* src/vm/jit/x86_64/patcher.c
* src/vm/jit/replace.h
* src/vm/jit/stacktrace.c
* src/vm/jit/stacktrace.h
* src/vm/jit/codegen-common.c
* src/vm/jit/jit.h
* src/vm/builtin.c
* src/vm/string.c
* src/vm/primitive.c
* src/vm/builtin.h
* src/vm/signal.c
* src/vm/primitive.h
* src/vm/exceptions.c
* src/vm/vm.c
* src/vm/finalizer.c
* src/vm/exceptions.h
* src/vm/stringlocal.h
* src/vm/vm.h
* src/vm/properties.c
* src/native/jni.c
* src/native/vm/java_lang_ClassLoader.c
* src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c
* src/native/vm/cldc1.1/java_lang_Class.c
* src/native/vm/cldc1.1/java_lang_String.c
* src/native/vm/cldc1.1/java_lang_Object.c
* src/native/vm/cldc1.1/java_lang_System.c
* src/native/vm/cldc1.1/java_lang_Throwable.c
* src/native/vm/java_lang_Class.c
* src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c
* src/native/vm/gnu/java_lang_VMClassLoader.c
* src/native/vm/gnu/gnu_classpath_VMSystemProperties.c
* src/native/vm/gnu/java_lang_reflect_Method.c
* src/native/vm/gnu/java_lang_VMRuntime.c
* src/native/vm/gnu/gnu_classpath_VMStackWalker.c
* src/native/vm/gnu/java_lang_reflect_Field.c
* src/native/vm/gnu/java_lang_reflect_Constructor.c
* src/native/vm/gnu/java_lang_VMThrowable.c
* src/native/vm/java_lang_Object.c
* src/native/vm/java_lang_String.c
* src/native/vm/java_lang_Thread.c
* src/native/vm/sun_misc_Unsafe.c
* src/native/vm/sun/jvm.c
* src/native/vm/reflect.c
* src/native/vm/java_lang_Runtime.c
* src/native/vm/java_lang_reflect_Method.c
* src/native/vm/reflect.h
* src/native/vm/java_lang_Runtime.h
* src/native/vm/java_lang_reflect_Constructor.c
* src/native/jni.h
* src/native/native.c
* src/native/native.h
* src/toolbox/hashtable.h
* src/toolbox/util.c
* src/toolbox/list.h
* src/toolbox/avl.c
* src/toolbox/avl.h
* src/toolbox/hashtable.c
* src/mm/memory.c
* src/threads/none/threads.h
* src/threads/threads-common.c
* src/threads/lock-common.h
* src/threads/native/threads.h
* src/threads/native/lock.c
* src/threads/native/threads.c
* src/threads/native/lock.h
* src/vmcore/class.c
* src/vmcore/loader.c
* src/vmcore/suck.h
* src/vmcore/class.h
* src/vmcore/loader.h
* src/vmcore/method.c
* src/vmcore/method.h
* src/vmcore/classcache.c
* src/vmcore/classcache.h
* src/vmcore/linker.c
* src/vmcore/linker.h
* src/cacaoh/headers.h
* src/cacaoh/dummy.c
* src/cacaoh/headers.c
........
r8296 | pm | 2007-08-12 00:38:38 +0200 (Sun, 12 Aug 2007) | 11 lines
* src/vm/exceptions.c (exceptions_handle_exception) [__S390__]: Synchronization object is at SP - IsSync - 8.
* src/vm/vm.c (vm_array_store_flt) [__S390__]: Float value is in bytes 4-7 of uint64_t.
* src/vm/jit/s390/arch.h,
src/vm/jit/s390/asmpart.S,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/emit.c,
src/vm/jit/s390/md.c,
src/vm/jit/s390/md-abi.c,
src/vm/jit/s390/md-asm.h: Changed a lot for 8 byte stackslots.
........
r8297 | michi | 2007-08-12 02:02:48 +0200 (Sun, 12 Aug 2007) | 35 lines
* src/native/localref.c: Added new file.
* src/native/localref.h: Likewise.
* src/native/Makefile.am: Added above two files.
* src/vm/jit/codegen-common.c (codegen_start_native_call)
(codegen_finish_native_call): Use separate function to deal with localrefs.
* src/native/jni.h: Moved localref stuff to own file.
* src/native/jni.c: Likewise.
(JNI_CALL_VIRTUAL_METHOD): Added new macro.
(JNI_CALL_NONVIRTUAL_METHOD): Likewise.
(JNI_GET_FIELD): Likewise.
(JNI_SET_FIELD): Likewise.
(JNI_CALL_STATIC_METHOD): Likewise.
(JNI_GET_STATIC_FIELD): Likewise.
(JNI_SET_STATIC_FIELD): Likewise.
(JNI_NEW_ARRAY): Likewise.
(JNI_GET_ARRAY_ELEMENTS): Likewise.
(JNI_RELEASE_ARRAY_ELEMENTS): Likewise.
(JNI_GET_ARRAY_REGION): Likewise.
(JNI_SET_ARRAY_REGION): Likewise.
* src/threads/native/threads.h,
* src/vm/jit/arm/codegen.c,
* src/vm/jit/powerpc/codegen.c,
* src/vm/jit/sparc64/codegen.c,
* src/vm/jit/alpha/codegen.c,
* src/vm/jit/s390/codegen.c,
* src/vm/jit/mips/codegen.c,
* src/vm/jit/m68k/codegen.c,
* src/vm/jit/powerpc64/codegen.c,
* src/vm/jit/i386/codegen.c,
* src/vm/jit/x86_64/codegen.c: Added missing include.
........
r8298 | pm | 2007-08-12 20:49:16 +0200 (Sun, 12 Aug 2007) | 7 lines
* src/vm/jit/dseg.c (dseg_get_linenumber_from_pc) [__S390__]: Clear most significant bit of passed pc parameter.
* src/vm/jit/s390/asmpart.S (asm_handle_exception): Rewritten to be wrapper for md_handle_exception.
* src/vm/jit/s390/md.c (md_handle_exception): New function.
* src/vm/jit/s390/md-abi.h (FLT_SAV_CNT): 2, (FLT_RES_CNT): 0.
* src/vm/jit/s390/md-abi.c (abi_registers_float_saved): Added f4 and f6, (nregdescfloat): Made f4 and f6 saved registers.
........
--HG--
branch : exact-gc
206 files changed: