christian [Thu, 7 Jul 2005 16:35:34 +0000 (16:35 +0000)]
removed typing error (! missing in md_return_alloc)
twisti [Thu, 7 Jul 2005 15:45:30 +0000 (15:45 +0000)]
* loader_load_all_classes: skip META-INF entries
christian [Thu, 7 Jul 2005 14:33:27 +0000 (14:33 +0000)]
Output RA instead of A-1 for allocated return values with -sa
twisti [Thu, 7 Jul 2005 09:41:59 +0000 (09:41 +0000)]
* don't include "md.h", not needed
twisti [Thu, 7 Jul 2005 09:37:26 +0000 (09:37 +0000)]
* EXTRA_DIST: removed
* md.c added
twisti [Thu, 7 Jul 2005 09:37:04 +0000 (09:37 +0000)]
* Not required
twisti [Thu, 7 Jul 2005 09:27:20 +0000 (09:27 +0000)]
* Moved os independent stuff here from linux/md.c, darwin/md.c
twisti [Thu, 7 Jul 2005 09:26:30 +0000 (09:26 +0000)]
* Renamed md.c to md-os.c
twisti [Wed, 6 Jul 2005 21:23:33 +0000 (21:23 +0000)]
* Formatted some macros a bit
twisti [Tue, 5 Jul 2005 14:00:37 +0000 (14:00 +0000)]
* More changes
twisti [Tue, 5 Jul 2005 14:00:17 +0000 (14:00 +0000)]
* Machine dependent, but os independent functions
twisti [Tue, 5 Jul 2005 14:00:02 +0000 (14:00 +0000)]
* Added md.c
twisti [Tue, 5 Jul 2005 13:59:43 +0000 (13:59 +0000)]
* Renamed md.c to md-os.c
twisti [Tue, 5 Jul 2005 13:40:14 +0000 (13:40 +0000)]
* Cleanup and trying to make the functions a bit simpler and clearer.
twisti [Tue, 5 Jul 2005 13:39:44 +0000 (13:39 +0000)]
* md_stacktrace_get_returnaddress: added
twisti [Tue, 5 Jul 2005 11:18:20 +0000 (11:18 +0000)]
* native_resolve_function: bugfix, just always generate overloaded function
name, this should not happen that often and it's easier this way
twisti [Tue, 5 Jul 2005 10:04:12 +0000 (10:04 +0000)]
* native_get_exceptiontypes: bugfix, removed excount and just use the
methodinfo data
twisti [Tue, 5 Jul 2005 08:49:55 +0000 (08:49 +0000)]
* asm_calljavafunction/2: calculate pv recalculate value with labels
* some cosmetic changes
twisti [Tue, 5 Jul 2005 08:48:07 +0000 (08:48 +0000)]
* INVOKESPECIAL: use software null pointer, checking a register should be
faster than accessing memory
* createnativestub: save floats with M_FST for native functions
twisti [Tue, 5 Jul 2005 08:46:37 +0000 (08:46 +0000)]
* builtin_new: removed commented debug output
christian [Mon, 4 Jul 2005 21:32:49 +0000 (21:32 +0000)]
New jni Version Number
twisti [Mon, 4 Jul 2005 21:28:14 +0000 (21:28 +0000)]
* Install kjc and gnu.getopt
twisti [Mon, 4 Jul 2005 21:27:43 +0000 (21:27 +0000)]
* Ignore generated files
twisti [Mon, 4 Jul 2005 21:21:39 +0000 (21:21 +0000)]
* rmic: removed
* contrib, javac: added
twisti [Mon, 4 Jul 2005 21:21:10 +0000 (21:21 +0000)]
* SUBDIRS: added contrib
twisti [Mon, 4 Jul 2005 21:20:52 +0000 (21:20 +0000)]
* javac.in: added
twisti [Mon, 4 Jul 2005 21:09:35 +0000 (21:09 +0000)]
* The compiler we want to use
christian [Mon, 4 Jul 2005 21:02:17 +0000 (21:02 +0000)]
debug helper removed
christian [Mon, 4 Jul 2005 20:45:02 +0000 (20:45 +0000)]
output file for extest.java corrected
twisti [Mon, 4 Jul 2005 20:41:28 +0000 (20:41 +0000)]
* thread_getself: implemented
twisti [Mon, 4 Jul 2005 20:40:55 +0000 (20:40 +0000)]
* GetEnv: call thread_getself, but i don't know if this is correct
twisti [Mon, 4 Jul 2005 20:39:26 +0000 (20:39 +0000)]
* Added -verbose:[class|gc|jni], yet only jni works
twisti [Mon, 4 Jul 2005 20:38:33 +0000 (20:38 +0000)]
* Renamed collectverbose to opt_verbosegc (but it still does not work)
christian [Mon, 4 Jul 2005 20:38:29 +0000 (20:38 +0000)]
Test script for make chekall added
twisti [Mon, 4 Jul 2005 20:38:07 +0000 (20:38 +0000)]
* collectverbose: removed
* opt_verbosejni, opt_verbosegc: added
twisti [Mon, 4 Jul 2005 20:35:24 +0000 (20:35 +0000)]
* Updated to classpath 0.16
twisti [Mon, 4 Jul 2005 20:33:12 +0000 (20:33 +0000)]
* stringtable_update, get_type: removed
* native_get_parametertypes, native_get_exceptiontypes,
native_get_returntype: prefixed with native_
twisti [Mon, 4 Jul 2005 20:31:45 +0000 (20:31 +0000)]
* native_resolve_function: implemented -verbose:jni
* native_get_parametertypes, native_get_exceptiontypes,
native_get_returntype: prefixed with native_ and some changes
christian [Sun, 3 Jul 2005 16:41:57 +0000 (16:41 +0000)]
Register packing Macros moved to codegen.inc.h
christian [Sun, 3 Jul 2005 16:40:49 +0000 (16:40 +0000)]
Both builtin_trace_args calls moved into a function. Call Stack generation
for Linux corrected.
christian [Sun, 3 Jul 2005 16:38:33 +0000 (16:38 +0000)]
Preliminary Bugfix for PowerPC/Linux. Only 3 parameters are handled
correctly by sprintf in C-Code
christian [Sun, 3 Jul 2005 16:37:30 +0000 (16:37 +0000)]
Preliminary Bugfix for PowerPC/Linux - only 3 Params are handled correctly
by sprintf in C-Code
edwin [Sat, 2 Jul 2005 14:05:47 +0000 (14:05 +0000)]
fix subclass testing in typeinfo.c: check subclass relationship using the
merged list if the common type is not a subclass of the destination type.
This has become necessary because of lazy loading since the class hierarchy
may change dynamically and there may be unresolved types in the merged list.
edwin [Sat, 2 Jul 2005 13:59:19 +0000 (13:59 +0000)]
removed -noverify option
twisti [Thu, 30 Jun 2005 22:36:45 +0000 (22:36 +0000)]
* md_param_alloc: simplified a bit
twisti [Thu, 30 Jun 2005 21:45:21 +0000 (21:45 +0000)]
* fill_callblock_from_vargs: float passing fix
twisti [Thu, 30 Jun 2005 20:54:41 +0000 (20:54 +0000)]
* Use functions for test for better debugability.
twisti [Thu, 30 Jun 2005 14:42:01 +0000 (14:42 +0000)]
* Always sign-extend the item values to 8-bytes in the call blocks, made
problems on alpha and mips
twisti [Thu, 30 Jun 2005 10:10:14 +0000 (10:10 +0000)]
* Added native clinit exception, for staticvm just catch the
UnsatisfiedLinkError
twisti [Thu, 30 Jun 2005 09:58:38 +0000 (09:58 +0000)]
* OPT_VERBOSE: added load/linkverbose
* version: print part of GNU header
* Better use strlen("0") instead of 1
twisti [Thu, 30 Jun 2005 09:55:49 +0000 (09:55 +0000)]
* native_findfunction: return non-NULL, otherwise we get an exception
twisti [Thu, 30 Jun 2005 09:54:19 +0000 (09:54 +0000)]
* Link with fdlibm
twisti [Thu, 30 Jun 2005 09:18:02 +0000 (09:18 +0000)]
* M_RET: added
twisti [Thu, 30 Jun 2005 09:16:21 +0000 (09:16 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Use some risc-style macros
twisti [Wed, 29 Jun 2005 14:57:36 +0000 (14:57 +0000)]
* builtin_fdiv, builtin_ddiv, builtin_dneg: implemented correcly as
described in VM spec (plus comments), more to come!
twisti [Wed, 29 Jun 2005 14:55:33 +0000 (14:55 +0000)]
* Added some tests
christian [Wed, 29 Jun 2005 12:42:19 +0000 (12:42 +0000)]
md_return_alloc added to precolor the stack slots containing the return
values to the return register and regard integer/float argument use.
christian [Wed, 29 Jun 2005 12:40:42 +0000 (12:40 +0000)]
md_return_alloc coded to precolour stack slots holding the return register.
rd->arg[int|flt]reguse calculation in md_param_alloc corrected.
christian [Wed, 29 Jun 2005 12:39:31 +0000 (12:39 +0000)]
Precoloring of stackslot holding the return value to the return register(s) implemented.
( md_return_alloc )
----------------------------------------------------------------------
twisti [Tue, 28 Jun 2005 19:01:39 +0000 (19:01 +0000)]
* gc_ignore_warnings: removed, it was not used
twisti [Tue, 28 Jun 2005 18:53:28 +0000 (18:53 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Check for exception in native_findfunction
twisti [Tue, 28 Jun 2005 18:52:05 +0000 (18:52 +0000)]
* Put some logging in JWDEBUG
twisti [Tue, 28 Jun 2005 18:50:43 +0000 (18:50 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Don't check for libm, we use fdlibm instead
* Build GTK peers by default
twisti [Tue, 28 Jun 2005 18:47:50 +0000 (18:47 +0000)]
* Java_java_lang_VMThread_isAlive: removed
* Java_java_lang_VMThread_nativeInit: removed
* Java_java_lang_VMThread_registerNatives: removed
* Removed some logging
twisti [Tue, 28 Jun 2005 18:45:22 +0000 (18:45 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Set java.version to 1.4.2
* Use strlen("0") instead of 1
twisti [Tue, 28 Jun 2005 18:44:10 +0000 (18:44 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:39:35 +0000 (18:39 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* use_class_as_object: changed return type from void to bool
* native_findfunction: throw an exception if native function is not found
twisti [Tue, 28 Jun 2005 18:38:16 +0000 (18:38 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* use_class_as_object: changed return type from void to bool
twisti [Tue, 28 Jun 2005 18:37:28 +0000 (18:37 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
twisti [Tue, 28 Jun 2005 18:36:27 +0000 (18:36 +0000)]
* Link against fdlibm instead of libm
twisti [Tue, 28 Jun 2005 18:36:08 +0000 (18:36 +0000)]
* new_exception_javastring: added
twisti [Tue, 28 Jun 2005 18:35:37 +0000 (18:35 +0000)]
* Renamed STATIC_CLASSPATH to ENABLE_STATICVM
* Link with fdlibm instead of libm
twisti [Tue, 28 Jun 2005 18:34:46 +0000 (18:34 +0000)]
* Added SUBDIRS: we have to build fdlibm since this library contains
suitable math functions (e.g. IRIX fmod bug)
twisti [Tue, 28 Jun 2005 18:32:46 +0000 (18:32 +0000)]
* Only cosmetic changes
twisti [Tue, 28 Jun 2005 18:24:47 +0000 (18:24 +0000)]
* Java_java_lang_VMObject_wait: changed signature in comment, renamed
params link in classpath
twisti [Tue, 28 Jun 2005 18:22:39 +0000 (18:22 +0000)]
* Ignore classes, vm.zip
twisti [Tue, 28 Jun 2005 16:05:50 +0000 (16:05 +0000)]
* Ooops, i should use a java string instead of an utf...
twisti [Tue, 28 Jun 2005 15:51:25 +0000 (15:51 +0000)]
* Ignore kjc, rmic
twisti [Tue, 28 Jun 2005 15:41:30 +0000 (15:41 +0000)]
* Added OPT_SHOWVERSION, OPT_HELP, OPT_X
* Xusage: implemented, print non-standard Java options
* usage: reformatted
* version: added first part of GNU header
* getmainclassnamefromjar: forget JNI and use cacao internal functions,
better error handling
twisti [Tue, 28 Jun 2005 12:46:42 +0000 (12:46 +0000)]
* AttachCurrentThread: added function header comment
twisti [Mon, 27 Jun 2005 20:59:28 +0000 (20:59 +0000)]
* Set MCODECHECK sizes much higher, so we don't run into trouble. I think
this does not make any performance breakdown, since code segment increase
happens first after 32KB.
twisti [Mon, 27 Jun 2005 19:58:48 +0000 (19:58 +0000)]
* Ooops, a darwin accident
twisti [Mon, 27 Jun 2005 19:55:40 +0000 (19:55 +0000)]
* Updated to boehm 6.5
* Use DARWIN_DONT_PARSE_STACK on powerpc-darwin
twisti [Mon, 27 Jun 2005 15:51:12 +0000 (15:51 +0000)]
* Added DISABLE_DUMP: use normal malloc in dump functions
twisti [Mon, 27 Jun 2005 15:50:30 +0000 (15:50 +0000)]
* --disable-dump: added, this disables the use of the dump memory and
should ease debugging for heap corruption
twisti [Mon, 27 Jun 2005 15:03:01 +0000 (15:03 +0000)]
* native_make_overloaded_function: heap corruption bugfix, forgot to add
the initial name length + \0
christian [Mon, 27 Jun 2005 14:21:44 +0000 (14:21 +0000)]
Typing error from last commit fixed
christian [Mon, 27 Jun 2005 14:19:36 +0000 (14:19 +0000)]
Reserve stack space for saving return values to survive monitorexit according to the type
twisti [Mon, 27 Jun 2005 12:07:54 +0000 (12:07 +0000)]
* md_init: added
christian [Mon, 27 Jun 2005 10:55:38 +0000 (10:55 +0000)]
Correct saving of integer return register for [AIL]RETURN for monitorexit
twisti [Mon, 27 Jun 2005 08:58:00 +0000 (08:58 +0000)]
* Ignore ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES
twisti [Sun, 26 Jun 2005 23:53:54 +0000 (23:53 +0000)]
* Bugfix: check return type for IS_2_WORD_TYPE and save more space on stack for
monitorexit
* use more risc macros
twisti [Sun, 26 Jun 2005 23:51:36 +0000 (23:51 +0000)]
* M_ALD, M_AST: macros added
christian [Sun, 26 Jun 2005 21:48:50 +0000 (21:48 +0000)]
correct handling for register usage for return types
christian [Sun, 26 Jun 2005 21:48:11 +0000 (21:48 +0000)]
one M_ILD in var_to_reg_int too much
christian [Sun, 26 Jun 2005 21:47:29 +0000 (21:47 +0000)]
md_param_alloc has to be called if paramcount==0, too
twisti [Sun, 26 Jun 2005 13:06:51 +0000 (13:06 +0000)]
* md_init: added
twisti [Sun, 26 Jun 2005 11:39:18 +0000 (11:39 +0000)]
* Added md_init
twisti [Sat, 25 Jun 2005 15:32:34 +0000 (15:32 +0000)]
* Added md_init
twisti [Sat, 25 Jun 2005 15:29:50 +0000 (15:29 +0000)]
* Removed machine independent stuff
* Renamed handlers
* Added md_init