twisti [Tue, 17 Jan 2006 18:37:01 +0000 (18:37 +0000)]
* Updated to new classpath configure options.
twisti [Tue, 17 Jan 2006 18:24:31 +0000 (18:24 +0000)]
* CLASSPATH_INSTALL_DIR: Renamed to CLASSPATH_PREFIX.
twisti [Tue, 17 Jan 2006 17:06:18 +0000 (17:06 +0000)]
* CACAO_INSTALL_PREFIX: Renamed to CACAO_PREFIX.
* NDEBUG: Check for libintl on cygwin and darwin.
* --with-classpath-install-dir: Renamed to --with-classpath-prefix.
* --with-classpath-libdir: Added to support 64-bit platforms where the
libdir may be /usr/lib64.
twisti [Tue, 17 Jan 2006 16:59:00 +0000 (16:59 +0000)]
* main: Removed CACAO_INSTALL_PREFIX and CLASSPATH_INSTALL_DIR since
CACAO_VM_ZIP_PATH and CLASSPATH_GLIBJ_ZIP_PATH are now full paths.
twisti [Tue, 17 Jan 2006 16:58:13 +0000 (16:58 +0000)]
* Java_gnu_classpath_VMSystemProperties_preInit: Renamed
CACAO_INSTALL_PREFIX to CACAO_PREFIX.
twisti [Tue, 17 Jan 2006 16:57:20 +0000 (16:57 +0000)]
* CACAO_VM_ZIP_PATH: Prepend CACAO_PREFIX.
* CLASSPATH_GLIBJ_ZIP_PATH: Prepend CLASSPATH_PREFIX.
* CLASSPATH_LIBRARY_PATH: Prepend CLASSPATH_LIBDIR.
twisti [Tue, 17 Jan 2006 16:55:21 +0000 (16:55 +0000)]
* CLASSPATH_INSTALL_DIR: Renamed to CLASSPATH_PREFIX.
twisti [Tue, 17 Jan 2006 16:53:16 +0000 (16:53 +0000)]
* Added.
twisti [Tue, 17 Jan 2006 16:51:06 +0000 (16:51 +0000)]
* m4/as-ac-expand.m4: Added.
twisti [Mon, 16 Jan 2006 00:07:02 +0000 (00:07 +0000)]
* jni_init: Fixed small typo.
twisti [Mon, 16 Jan 2006 00:04:29 +0000 (00:04 +0000)]
* Java_gnu_classpath_VMSystemProperties_preInit: Use the same os.arch
property values as SUN and others do, so we are compatible (e.g. jogl had
some problems), file.encoding removed as it's set by GNU Classpath,
hardcode values for gnu.cpu.endian.
twisti [Sun, 15 Jan 2006 23:32:36 +0000 (23:32 +0000)]
* utf_java_nio_DirectByteBufferImpl_ReadWrite: Removed.
* utf_gnu_classpath_Pointer{32,64}: Likewise.
* class_java_nio_Buffer: Added, load and link this class in jni_init().
* class_java_nio_DirectByteBufferImpl: Likewise.
* NewDirectByteBuffer: Removed debug output.
* GetDirectBufferAddress: Added instanceof check.
* GetDirectBufferCapacity: Likewise.
twisti [Sun, 15 Jan 2006 14:12:05 +0000 (14:12 +0000)]
* native_new_and_init: Ooops, reverting last change and added an explaining
comment.
twisti [Sun, 15 Jan 2006 13:32:57 +0000 (13:32 +0000)]
* CLASSPATH_LIBRARY_PATH, CLASSPATH_GLIBJ_ZIP_PATH: Temporary bugfix.
twisti [Sun, 15 Jan 2006 12:28:57 +0000 (12:28 +0000)]
* native_findfunction: #ifdef ENABLE_STATICVM.
twisti [Sun, 15 Jan 2006 12:28:30 +0000 (12:28 +0000)]
* native_new_and_init: Fixed return value.
twisti [Sun, 15 Jan 2006 01:56:42 +0000 (01:56 +0000)]
* math.h: Added for isnan.
twisti [Sun, 15 Jan 2006 00:37:34 +0000 (00:37 +0000)]
* JAVAC: Removed.
twisti [Sun, 15 Jan 2006 00:36:20 +0000 (00:36 +0000)]
* Java_gnu_classpath_VMSystemProperties_preInit: Set user.country instead
of user.region, set en_US if none is defined, java.protocol.handler.pkgs
removed.
twisti [Sat, 14 Jan 2006 20:02:36 +0000 (20:02 +0000)]
* builtin_trace_args: Added callcount to verbose call output.
edwin [Sat, 14 Jan 2006 17:19:10 +0000 (17:19 +0000)]
* src/native/vm/Method.c (invokeNative): check class access rights
twisti [Fri, 13 Jan 2006 19:37:17 +0000 (19:37 +0000)]
* codegen_setup: #ifdef datareferences.
twisti [Fri, 13 Jan 2006 18:51:10 +0000 (18:51 +0000)]
* This class does not differ from the GNU classpath upstream version.
twisti [Fri, 13 Jan 2006 18:49:52 +0000 (18:49 +0000)]
* defineClassWithTransformers: Added, updated to generics version.
twisti [Fri, 13 Jan 2006 15:29:40 +0000 (15:29 +0000)]
* codegendata: #ifdef datareferences member.
twisti [Fri, 13 Jan 2006 15:29:21 +0000 (15:29 +0000)]
* codegen_finish: Moved data segment reference resolving into
dseg_resolve_datareferences.
twisti [Fri, 13 Jan 2006 15:28:34 +0000 (15:28 +0000)]
* dseg_resolve_datareferences: Added.
twisti [Fri, 13 Jan 2006 15:27:51 +0000 (15:27 +0000)]
* Small reformatting.
twisti [Fri, 13 Jan 2006 10:47:37 +0000 (10:47 +0000)]
* src/vm/jit/{i386,x86_64}/{dis-asm.h,i386-dis.c}: Removed.
* src/vm/jit/powerpc/{ppc.h,ppc-dis.c,ppc-opc.c}: Likewise.
* m4/{ac_prog_javac.m4,ac_prog_javac_works.m4}: Added.
twisti [Fri, 13 Jan 2006 10:42:23 +0000 (10:42 +0000)]
* ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
twisti [Fri, 13 Jan 2006 10:11:35 +0000 (10:11 +0000)]
* codegen.h: Added when ENABLE_JIT defined.
* codegen_addpatchref: Set lastmcodeptr when ENABLE_JIT is defined and the
architecture requires it.
twisti [Fri, 13 Jan 2006 10:09:44 +0000 (10:09 +0000)]
* ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
twisti [Thu, 12 Jan 2006 23:54:55 +0000 (23:54 +0000)]
* ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
twisti [Thu, 12 Jan 2006 23:33:50 +0000 (23:33 +0000)]
* arch.h: Added.
twisti [Thu, 12 Jan 2006 23:33:14 +0000 (23:33 +0000)]
* GC_test_and_set: Removed 64-bit version since the 32-bit seems to be
sufficient and works.
twisti [Thu, 12 Jan 2006 23:31:24 +0000 (23:31 +0000)]
* show_icmd: Use CLASS_IS_OR_ALMOST_INITIALIZED.
twisti [Thu, 12 Jan 2006 23:31:00 +0000 (23:31 +0000)]
* initialize_class: Use CLASS_IS_OR_ALMOST_INITIALIZED.
twisti [Thu, 12 Jan 2006 23:30:35 +0000 (23:30 +0000)]
* CLASS_IS_OR_ALMOST_INITIALIZED: Added.
twisti [Thu, 12 Jan 2006 23:27:13 +0000 (23:27 +0000)]
* GETSTATIC_FLOAT, PUTSTATIC_FLOAT, GETFIELD_FLOAT, PUTFIELD_FLOAT: Added.
* PATCHER_GETSTATIC_FLOAT, PATCHER_PUTSTATIC_FLOAT, PATCHER_GETFIELD_FLOAT,
PATCHER_PUTFIELD_FLOAT: Likewise.
* TRACENATIVECALL: Removed codegen_findmethod, use methodinfo* from
threaded code stream.
* TRACECALL, TRACERETURN, TRACELRETURN: Likewise.
twisti [Thu, 12 Jan 2006 23:23:28 +0000 (23:23 +0000)]
* Some 64-bit big-endian bugfixes.
* Use CLASS_IS_OR_ALMOST_INITIALIZED macro.
twisti [Thu, 12 Jan 2006 23:21:11 +0000 (23:21 +0000)]
* 64-bit big-endian bugfix: replace s4 with ptrint.
twisti [Thu, 12 Jan 2006 23:10:37 +0000 (23:10 +0000)]
* Imported for the interpreter.
twisti [Thu, 12 Jan 2006 23:09:33 +0000 (23:09 +0000)]
* Added powerpc64 target.
twisti [Thu, 12 Jan 2006 23:08:54 +0000 (23:08 +0000)]
* intrp_disassinstr, intrp_disassemble: Added.
twisti [Thu, 12 Jan 2006 23:07:23 +0000 (23:07 +0000)]
* vm/options.h: Added.
twisti [Thu, 12 Jan 2006 23:05:22 +0000 (23:05 +0000)]
* config.h, vm/types.h: Added.
twisti [Thu, 12 Jan 2006 23:03:57 +0000 (23:03 +0000)]
* Use ASM_CALLJAVAFUNCTION* macros.
twisti [Thu, 12 Jan 2006 22:42:54 +0000 (22:42 +0000)]
* thread_addstaticcritical: Quick hack: #ifdef ENABLE_JIT
asm_criticalsections.
* sigsuspend_handler: Quick hack: #ifdef ENABLE_JIT
thread_restartcriticalsection.
twisti [Thu, 12 Jan 2006 22:41:29 +0000 (22:41 +0000)]
* vm/options.h: Added.
* descriptor_pool_parse_method_descriptor: #ifdef ENABLE_JIT md_param_alloc
call.
* descriptor_params_from_paramtypes: Likewise.
twisti [Thu, 12 Jan 2006 22:40:24 +0000 (22:40 +0000)]
* Fixed a lot of compiler warnings (functionptr -> u1*).
twisti [Thu, 12 Jan 2006 22:39:19 +0000 (22:39 +0000)]
* regs: Removed.
* disassinstr, disassemble: Prefixed with intrp_.
twisti [Thu, 12 Jan 2006 22:38:37 +0000 (22:38 +0000)]
* ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
twisti [Thu, 12 Jan 2006 22:37:33 +0000 (22:37 +0000)]
* builtin_gen_table: #if function according to arch.h.
* codegen: Prefixed with intrp_, usage of iptr->val.a and iptr->target
changed.
* codegen_createlinenumbertable: Renamed to dseg_createlinenumbertable.
* createcompilerstub: Prefixed with intrp_.
* createnativestub: Likewise.
twisti [Thu, 12 Jan 2006 22:35:37 +0000 (22:35 +0000)]
* verify_multianewarray: Usage iptr->val.a and iptr->target changed.
twisti [Thu, 12 Jan 2006 22:35:05 +0000 (22:35 +0000)]
* JAVA_MULTIANEWARRAY: Pass c in iptr->val.a and cr in iptr->target.
twisti [Thu, 12 Jan 2006 22:34:04 +0000 (22:34 +0000)]
* codegen_createnativestub: #ifdef ENABLE_JIT md_param_alloc call.
* codegen_disassemble_nativestub: Use DISASSEMBLE macro.
twisti [Thu, 12 Jan 2006 22:32:06 +0000 (22:32 +0000)]
* analyse_stack: #ifdef ENBALE_JIT md_return_alloc call.
* icmd_print_stack: Print regs correctly for jit.
* show_icmd_method: Likewise.
twisti [Thu, 12 Jan 2006 21:55:07 +0000 (21:55 +0000)]
* builtintable_internal: Removed ICMD_CHECKCAST.
twisti [Thu, 12 Jan 2006 21:39:51 +0000 (21:39 +0000)]
* Prefixed functions with intrp_.
twisti [Thu, 12 Jan 2006 21:39:00 +0000 (21:39 +0000)]
* md_init, md_stacktrace_get_returnaddress: Prefixed with intrp_.
* thread_restartcriticalsection, md_param_alloc, md_return_alloc: Removed.
twisti [Thu, 12 Jan 2006 21:38:11 +0000 (21:38 +0000)]
* Prefix functions with intrp_.
twisti [Thu, 12 Jan 2006 21:37:07 +0000 (21:37 +0000)]
* Use ptrint instead of s8 in some places.
twisti [Thu, 12 Jan 2006 21:36:27 +0000 (21:36 +0000)]
* Use DISASSINSTR macro.
michi [Thu, 12 Jan 2006 21:36:05 +0000 (21:36 +0000)]
* Comment updated (for asm_cacheflush)
twisti [Thu, 12 Jan 2006 21:35:59 +0000 (21:35 +0000)]
* intrp_createcompilerstub, intrp_createnativestub, intrp_codegen: Added.
twisti [Thu, 12 Jan 2006 21:35:36 +0000 (21:35 +0000)]
* codegen.h: Include only for some archs.
* md-abi.h: Include only for arm.
* codegen_init: Changed #ifdef to ENABLE_JIT.
* codegen_createnativestub: Call reg_setup only for jit, #ifdef
createnativestub to support interpreter.
twisti [Thu, 12 Jan 2006 21:30:55 +0000 (21:30 +0000)]
* intrp_md_stacktrace_get_returnaddress: Added.
twisti [Thu, 12 Jan 2006 21:30:41 +0000 (21:30 +0000)]
* cacao_stacktrace_fillInStackTrace: #ifdef md_stacktrace_get_returnaddress
to support interpreter.
twisti [Thu, 12 Jan 2006 21:29:04 +0000 (21:29 +0000)]
* Seperate ENABLE_JIT and ENABLE_INTRP.
twisti [Thu, 12 Jan 2006 21:17:46 +0000 (21:17 +0000)]
* config.h: Added.
* intrp_patcher_get_putstatic, intrp_patcher_get_putfield,
intrp_patcher_aconst, intrp_patcher_builtin_multianewarray,
intrp_patcher_builtin_arraycheckcast, intrp_patcher_invokestatic_special,
intrp_patcher_invokevirtual, intrp_patcher_invokeinterface,
intrp_patcher_checkcast_instanceof, intrp_patcher_resolve_native:
Likewise.
twisti [Thu, 12 Jan 2006 21:16:18 +0000 (21:16 +0000)]
* jit_compile_intern: #ifdef codegen call to support interpreter, use
DISASSEMBLE macro.
twisti [Thu, 12 Jan 2006 21:15:00 +0000 (21:15 +0000)]
* DISASSINSTR, DISASSEMBLE: Added.
twisti [Thu, 12 Jan 2006 21:14:03 +0000 (21:14 +0000)]
* Use ASM_CALLJAVAFUNCTION macro.
twisti [Thu, 12 Jan 2006 21:13:27 +0000 (21:13 +0000)]
* Use ASM_CALLJAVAFUNCTION_INT macro.
twisti [Thu, 12 Jan 2006 21:11:00 +0000 (21:11 +0000)]
* intrp_asm_calljavafunction, intrp_createcompilerstub,
intrp_asm_getclassvalues_atomic: Added.
twisti [Thu, 12 Jan 2006 21:08:55 +0000 (21:08 +0000)]
* Use ASM_CALLJAVAFUNCTION macros.
* main: #ifdef md_init call to support interpreter.
twisti [Thu, 12 Jan 2006 21:08:00 +0000 (21:08 +0000)]
* link_class_intern: #ifdef createcompilerstub call to support interpreter.
twisti [Thu, 12 Jan 2006 21:07:11 +0000 (21:07 +0000)]
* Use ASM_CALLJAVAFUNCTION macros.
twisti [Thu, 12 Jan 2006 21:06:44 +0000 (21:06 +0000)]
* Use ASM_CALLJAVAFUNCTION_ADR macro.
twisti [Thu, 12 Jan 2006 21:06:07 +0000 (21:06 +0000)]
* Use ASM_CALLJAVAFUNCTION macro.
twisti [Thu, 12 Jan 2006 21:04:23 +0000 (21:04 +0000)]
* intrp_md_init: Added.
twisti [Thu, 12 Jan 2006 20:57:12 +0000 (20:57 +0000)]
* Check explicitly for isnan.
twisti [Thu, 12 Jan 2006 18:25:15 +0000 (18:25 +0000)]
* print_dynamic_super_statistics: Added from intrp.
michi [Thu, 12 Jan 2006 18:09:43 +0000 (18:09 +0000)]
* Included md-abi.h (needed for REG_SPLIT on Arm)
twisti [Thu, 12 Jan 2006 17:52:29 +0000 (17:52 +0000)]
* We have to use a machine dependent arch.h.
twisti [Wed, 11 Jan 2006 12:16:57 +0000 (12:16 +0000)]
* vm/jit/codegen.inc.h: Removed.
* Fixed compiler warnings.
twisti [Wed, 11 Jan 2006 10:35:54 +0000 (10:35 +0000)]
* ICMD_F2I, ICMD_D2I, ICMD_F2L, ICMD_D2L: #if 0.
twisti [Wed, 11 Jan 2006 10:01:12 +0000 (10:01 +0000)]
* SUPPORT_FMOD: Removed.
* SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or SUPPORT_L2F,
SUPPORT_L2D.
* SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
* SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
twisti [Tue, 10 Jan 2006 22:44:01 +0000 (22:44 +0000)]
* SUPPORT_FMOD: Removed.
* SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or SUPPORT_L2F,
SUPPORT_L2D.
* SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
* SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
twisti [Tue, 10 Jan 2006 22:38:02 +0000 (22:38 +0000)]
* SUPPORT_FMOD: Removed.
* SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or SUPPORT_L2F,
SUPPORT_L2D.
* SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
* SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
twisti [Tue, 10 Jan 2006 22:22:09 +0000 (22:22 +0000)]
* EXTRA_DIST: Added ChangeLog-2005.
twisti [Tue, 10 Jan 2006 22:18:29 +0000 (22:18 +0000)]
* SUPPORT_FMOD: Removed.
* SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or SUPPORT_L2F,
SUPPORT_L2D.
* SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
* SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
twisti [Tue, 10 Jan 2006 22:11:36 +0000 (22:11 +0000)]
* asm_getclassvalues_atomic: Replaced with ASM_GETCLASSVALUES_ATOMIC.
* SUPPORT_IFCVT: Replaced with SUPPORT_I2F or SUPPORT_I2D.
* SUPPORT_FICVT: Replaced with SUPPORT_F2I.
* SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F.
* SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
twisti [Tue, 10 Jan 2006 22:09:07 +0000 (22:09 +0000)]
* ASM_CALLJAVAFUNCTION, ASM_CALLJAVAFUNCTION_ADR, ASM_CALLJAVAFUNCTION_INT,
ASM_CALLJAVAFUNCTION2, ASM_CALLJAVAFUNCTION2_ADR,
ASM_CALLJAVAFUNCTION2_INT, ASM_CALLJAVAFUNCTION2_LONG,
ASM_CALLJAVAFUNCTION2_FLOAT, ASM_CALLJAVAFUNCTION2_DOUBLE: Macros added,
these macros hide the selection between jit and intrp functions.
* ASM_GETCLASSVALUES_ATOMIC: Likewise.
* intrp_asm_calljavafunction, intrp_asm_calljavafunction_int: Added.
* intrp_asm_calljavafunction2, intrp_asm_calljavafunction2int,
intrp_asm_calljavafunction2long, intrp_asm_calljavafunction2float,
intrp_asm_calljavafunction2double: Likewise.
* intrp_asm_getclassvalues_atomic: Likewise.
twisti [Tue, 10 Jan 2006 21:58:12 +0000 (21:58 +0000)]
* SUPPORT_IFCVT: Replaced with SUPPORT_I2F or SUPPORT_I2D.
* SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
* SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2I, SUPPORT_F2L or SUPPORT_D2I,
SUPPORT_D2L.
twisti [Tue, 10 Jan 2006 21:11:04 +0000 (21:11 +0000)]
* exceptions_throw_negativearraysizeexception: Use
* builtin_throw_exception: #ifndef NDEBUG.
* builtin_trace_exception: Likewise.
* builtin_trace_args: Likewise.
* builtin_displaymethodstop: Likewise.
* builtin_*: #if the function regarding the defines in arch.h.
twisti [Tue, 10 Jan 2006 20:57:18 +0000 (20:57 +0000)]
* exceptions_throw_classformaterror,
exceptions_throw_arrayindexoutofboundsexception,
exceptions_throw_illegalargumentexception,
exceptions_throw_negativearraysizeexception,
exceptions_throw_nullpointerexception: Added.
* exceptions_print_exception: #ifndef NDEBUG.
twisti [Tue, 10 Jan 2006 20:56:16 +0000 (20:56 +0000)]
* exceptions_throw_classformaterror: Use this function.
twisti [Tue, 10 Jan 2006 20:55:41 +0000 (20:55 +0000)]
* exceptions_throw_nullpointerexception: Use this function.
twisti [Tue, 10 Jan 2006 20:50:53 +0000 (20:50 +0000)]
* exceptions_throw_nullpointerexception,
exceptions_throw_arrayindexoutofboundsexception: Use these functions.