jowenn [Thu, 1 Jul 2004 14:21:05 +0000 (14:21 +0000)]
fix cacao/gennativetable to not crash on zipfile input, whole classpath in cacaodev module now again
unknown [Thu, 1 Jul 2004 11:10:43 +0000 (11:10 +0000)]
This commit was manufactured by cvs2svn to create tag
'before_reimport_of_cacaoclasspath'.
jowenn [Thu, 1 Jul 2004 11:10:43 +0000 (11:10 +0000)]
CVS include rules removed, but still compile, next steps: *) Tag this version *) remove subdirectories *) import whole classpath
stefan [Wed, 30 Jun 2004 22:32:51 +0000 (22:32 +0000)]
i love nice usage messages
stefan [Wed, 30 Jun 2004 22:26:21 +0000 (22:26 +0000)]
just being pedantic...
twisti [Wed, 30 Jun 2004 21:35:45 +0000 (21:35 +0000)]
Moved reg_of_var from codegen.c, cause it's platform independent.
twisti [Wed, 30 Jun 2004 21:35:11 +0000 (21:35 +0000)]
Moved reg_of_var into codegen.inc, cause it's platform independent.
twisti [Wed, 30 Jun 2004 21:00:21 +0000 (21:00 +0000)]
Oh fuck, ansi c again! I'm soooooooo sorry...
twisti [Wed, 30 Jun 2004 20:56:22 +0000 (20:56 +0000)]
Include options.h.
twisti [Wed, 30 Jun 2004 20:56:08 +0000 (20:56 +0000)]
Include dir fix.
twisti [Wed, 30 Jun 2004 20:38:42 +0000 (20:38 +0000)]
Handle offsets.h stuff in a better way.
twisti [Wed, 30 Jun 2004 20:26:16 +0000 (20:26 +0000)]
Enable zlib support by default.
twisti [Wed, 30 Jun 2004 20:24:49 +0000 (20:24 +0000)]
Include options.h/statistics.h.
twisti [Wed, 30 Jun 2004 20:24:06 +0000 (20:24 +0000)]
Removed offsets.h stuff.
twisti [Wed, 30 Jun 2004 20:23:09 +0000 (20:23 +0000)]
Define {INT,FLT}_{ARG,SAV}_CNT
twisti [Wed, 30 Jun 2004 20:22:20 +0000 (20:22 +0000)]
- *registerdata stuff
- implemented ICMD_xASTORECONST
twisti [Wed, 30 Jun 2004 20:21:55 +0000 (20:21 +0000)]
Implemented functions for ICMD_xASTORECONST.
twisti [Wed, 30 Jun 2004 20:19:11 +0000 (20:19 +0000)]
- *registerdata changes
- implemented ICMD_xASTORECONST
twisti [Wed, 30 Jun 2004 20:18:10 +0000 (20:18 +0000)]
Include options.h/statistics.h.
twisti [Wed, 30 Jun 2004 20:15:25 +0000 (20:15 +0000)]
Moved getcputime() into statistics.*
twisti [Wed, 30 Jun 2004 20:14:20 +0000 (20:14 +0000)]
- removed options (they are now in options.c)
- removed cacaoh's and gennativetable's main()
twisti [Wed, 30 Jun 2004 20:12:42 +0000 (20:12 +0000)]
Some exports of header.c's functions and variables used by cacaoh.c and
gennativetable.c.
twisti [Wed, 30 Jun 2004 20:11:49 +0000 (20:11 +0000)]
Main function of cacaoh, uses functions of header.c
twisti [Wed, 30 Jun 2004 20:10:17 +0000 (20:10 +0000)]
- added options.*/statistics.*
- compile gennativetable
- generate natheaders, nativetable.inc
twisti [Wed, 30 Jun 2004 20:07:25 +0000 (20:07 +0000)]
- include options.h/statistics.h instead of main.h
- removed statistic exports
twisti [Wed, 30 Jun 2004 20:06:24 +0000 (20:06 +0000)]
- moved struct nativeref, nativecompref from c file
- export class_java_lang_Exception, class_java_lang_Error
twisti [Wed, 30 Jun 2004 20:05:30 +0000 (20:05 +0000)]
- moved struct nativeref, struct nativecompref into header
- added class_java_lang_Exception, class_java_lang_Error globals
- #include "nativetable.inc"
- removed compilation of system exception
twisti [Wed, 30 Jun 2004 19:54:59 +0000 (19:54 +0000)]
- include options.h/statistics.h instead of main.h
- moved statistic variables into statistics.*
- set new pointer in methodinfo NULL
- handle an java.lang.Error in <clinit> correctly
twisti [Wed, 30 Jun 2004 19:53:03 +0000 (19:53 +0000)]
Include options.h instead of main.h.
twisti [Wed, 30 Jun 2004 19:52:18 +0000 (19:52 +0000)]
Include options.h.
twisti [Wed, 30 Jun 2004 19:49:37 +0000 (19:49 +0000)]
Defined registerdata structure.
twisti [Wed, 30 Jun 2004 19:48:48 +0000 (19:48 +0000)]
- moved statistic variables into statistics.*
- implemented ICMD_xASTORECONST
twisti [Wed, 30 Jun 2004 19:47:43 +0000 (19:47 +0000)]
- include options.h/statistics.h instead of main.h
- implemented ICMD_xASTORECONST
- registerdata changes
twisti [Wed, 30 Jun 2004 19:42:17 +0000 (19:42 +0000)]
Include options.h/statistics.h instead of main.h.
twisti [Wed, 30 Jun 2004 19:41:23 +0000 (19:41 +0000)]
- moved commandline switch and statistic variables into
options.*/statistics.*
- added *registerdata to methodinfo
twisti [Wed, 30 Jun 2004 19:39:04 +0000 (19:39 +0000)]
- moved statistic variables into statistics.*
- implemented ICMD_xASTORECONST
- moved global register data into structure referenced by methodinfo
twisti [Wed, 30 Jun 2004 19:32:11 +0000 (19:32 +0000)]
Moved commandline option and statistic variables into
options.*/statistics.*. So we can include them also into cacaoh and
gennativetable.
twisti [Wed, 30 Jun 2004 19:29:35 +0000 (19:29 +0000)]
Include options.h
twisti [Wed, 30 Jun 2004 19:26:39 +0000 (19:26 +0000)]
Include options.h instead of main.h
twisti [Wed, 30 Jun 2004 19:26:19 +0000 (19:26 +0000)]
Include dir fix.
twisti [Wed, 30 Jun 2004 19:13:37 +0000 (19:13 +0000)]
Contains global statistic variables used in the compiler.
twisti [Wed, 30 Jun 2004 19:13:00 +0000 (19:13 +0000)]
Contains commandline switch variables used in cacao and cacaoh.
twisti [Wed, 30 Jun 2004 19:12:20 +0000 (19:12 +0000)]
Generate nativetable.h for native.c
twisti [Wed, 30 Jun 2004 19:12:01 +0000 (19:12 +0000)]
Generate jit/ARCH_DIR/offsets.h
twisti [Tue, 29 Jun 2004 14:38:55 +0000 (14:38 +0000)]
Added javastring_tochar, class_java_lang_Exception
twisti [Tue, 29 Jun 2004 14:37:41 +0000 (14:37 +0000)]
Print detailMessage in builtin_throw_exception.
twisti [Tue, 29 Jun 2004 14:11:16 +0000 (14:11 +0000)]
removal_of_global_jit_variables changes.
twisti [Tue, 29 Jun 2004 14:09:08 +0000 (14:09 +0000)]
asmpart depends on offsets.h
twisti [Tue, 29 Jun 2004 13:31:58 +0000 (13:31 +0000)]
- print exceptions if they occur
- start with 2MB max heap size
twisti [Tue, 29 Jun 2004 12:24:21 +0000 (12:24 +0000)]
codegen_insertNative only for i386 and x86_64.
stefan [Sat, 26 Jun 2004 13:38:33 +0000 (13:38 +0000)]
we need to disable threads for boehm
stefan [Sat, 26 Jun 2004 12:45:44 +0000 (12:45 +0000)]
native threads configuration option added
stefan [Sat, 26 Jun 2004 12:43:29 +0000 (12:43 +0000)]
rename thread switch so we can control it from our configure script
stefan [Fri, 25 Jun 2004 22:41:28 +0000 (22:41 +0000)]
jit global vars added
stefan [Fri, 25 Jun 2004 22:16:40 +0000 (22:16 +0000)]
no threads compile fix merged
twisti [Fri, 25 Jun 2004 12:20:52 +0000 (12:20 +0000)]
Temporary hack for non i386 architectures.
twisti [Fri, 25 Jun 2004 10:19:28 +0000 (10:19 +0000)]
- implemented some exceptions
- sleepThread now takes also nanos
twisti [Fri, 25 Jun 2004 10:15:56 +0000 (10:15 +0000)]
- pass nanos to sleepThread
- #ifdef __GNUC__ for #warning
carolyn [Fri, 25 Jun 2004 06:18:44 +0000 (06:18 +0000)]
updated inline.c so works with lazy loading
twisti [Wed, 23 Jun 2004 13:35:43 +0000 (13:35 +0000)]
Hmm, this file makes problems.
twisti [Tue, 22 Jun 2004 23:14:55 +0000 (23:14 +0000)]
Removed jit.c global variables. Most of them were already in methodinfo,
others now have a pointer into dump area, some are new variables. Thus the
methodinfo pointer is now passed to the called functions.
stefan [Mon, 21 Jun 2004 19:58:48 +0000 (19:58 +0000)]
need clarification
twisti [Sun, 20 Jun 2004 21:24:17 +0000 (21:24 +0000)]
- check for NoClassDefFoundError, because forName can also throw other
exceptions, check for class_load/link errors
- commented some strange code
twisti [Sun, 20 Jun 2004 21:20:33 +0000 (21:20 +0000)]
Added a testing class.
twisti [Sun, 20 Jun 2004 21:20:15 +0000 (21:20 +0000)]
Made random a global variable to get always different sleep values (equals
values happend on fast smp machines).
twisti [Sun, 20 Jun 2004 20:59:12 +0000 (20:59 +0000)]
Also pass nanos to sleepThread function.
twisti [Sun, 20 Jun 2004 20:58:46 +0000 (20:58 +0000)]
Fixed include path.
twisti [Sun, 20 Jun 2004 19:45:55 +0000 (19:45 +0000)]
Set prev and next to NULL on list_remove (with this fix eager loading
works).
twisti [Sun, 20 Jun 2004 19:44:46 +0000 (19:44 +0000)]
Eager loading now works.
twisti [Sat, 19 Jun 2004 12:59:20 +0000 (12:59 +0000)]
Bug fix in builtin_monitor* with green threads: monitors must be
reentrantable by the same thread (recursive call of synchronized function).
twisti [Sat, 19 Jun 2004 12:49:53 +0000 (12:49 +0000)]
- Arghhhh! Do NOT use %ebx in a asm_ function without saving it, it's a
callee saved register!!! Damn. I now use %edx (-> related to jit.c's
method_uses_edx stuff).
- some code indent
twisti [Sat, 19 Jun 2004 12:47:25 +0000 (12:47 +0000)]
Don't use ecx, edx on i386 (we have problems with asmpart functions). I
now think, this was not a good idea.
twisti [Sat, 19 Jun 2004 12:46:00 +0000 (12:46 +0000)]
Some lazy loading/linking checks, i believe the are _many_ more!
twisti [Sat, 19 Jun 2004 12:44:12 +0000 (12:44 +0000)]
- added: throw_exception, throw_exception_exit, throw_main_exception and
throw_main_exception_exit, which all of them use
throw_exception_exit_intern
- eager loading stuff
twisti [Sat, 19 Jun 2004 12:42:54 +0000 (12:42 +0000)]
Added: throw_exception, throw_main_exception, throw_main_exception_exit
twisti [Sat, 19 Jun 2004 12:32:57 +0000 (12:32 +0000)]
- added compatibility flags: -cp, -Xmx, -Xms (with K, M)
- usage of throw_main_exception_exit
- don't exit after an exception in the main method (2 reasons: we use
Runtime.exit() and maybe other threads are running)
twisti [Sat, 19 Jun 2004 12:26:33 +0000 (12:26 +0000)]
Added initializing flag to classinfo structure. This is used by the
compiler to prevent circularity in class_init's.
twisti [Sat, 19 Jun 2004 12:24:42 +0000 (12:24 +0000)]
- removed stringdeleter from tables_close (why?)
- renamed some functions to better names: utf_new_int -> utf_new_intern
class_new_int -> class_new_intern
- added class_remove
twisti [Sat, 19 Jun 2004 12:23:13 +0000 (12:23 +0000)]
- removed stringdeleter from tables_close (why?)
- renamed some functions to better names: utf_new_int -> utf_new_intern
class_new_int -> class_new_intern
- added class_remove: this removes the classinfo entry in the hashtable
twisti [Sat, 19 Jun 2004 12:21:06 +0000 (12:21 +0000)]
Added class_free
twisti [Sat, 19 Jun 2004 12:20:06 +0000 (12:20 +0000)]
Ansi C greetz you...
twisti [Sat, 19 Jun 2004 12:13:45 +0000 (12:13 +0000)]
- added new_classformaterror
- added check_classbuffer_size (use before suck_ calls)
- made suck_* #define's inline functions
- some functions now return bool to catch "truncated class files"
- added some eager loading stuff
- free class resources if loading failed
- class_init wrapper with monitors to handle class init's properly
twisti [Thu, 17 Jun 2004 19:23:25 +0000 (19:23 +0000)]
Moved builtin_monitorenter/builtin_monitorexit functions outside of the
trace call functions to get a proper trace call with threads.
twisti [Thu, 17 Jun 2004 17:17:09 +0000 (17:17 +0000)]
Fixed include paths.
twisti [Thu, 17 Jun 2004 17:12:40 +0000 (17:12 +0000)]
Added throw_exception
stefan [Thu, 17 Jun 2004 16:04:44 +0000 (16:04 +0000)]
*** empty log message ***
jowenn [Wed, 16 Jun 2004 14:56:18 +0000 (14:56 +0000)]
a few finalizer testcases, old thread implementation uses now VMThread, no mor context (perhaps we should change some of the functions needing Thread objects to use VMThreadobjects. Better handling of ambigious native function names. Fix for clinit in static native call stub. early initialization of System class ...
stefan [Sat, 12 Jun 2004 15:04:31 +0000 (15:04 +0000)]
MIPS specific functions
stefan [Sat, 12 Jun 2004 15:01:00 +0000 (15:01 +0000)]
prototype fix
stefan [Sat, 12 Jun 2004 14:58:25 +0000 (14:58 +0000)]
ansi c fix
stefan [Sat, 12 Jun 2004 13:34:06 +0000 (13:34 +0000)]
Threads for IRIX
stefan [Sat, 12 Jun 2004 13:33:38 +0000 (13:33 +0000)]
Alignment was broken for MIPS
stefan [Sat, 12 Jun 2004 13:32:49 +0000 (13:32 +0000)]
Critical sections declaration fix
stefan [Sat, 12 Jun 2004 13:29:07 +0000 (13:29 +0000)]
Native stub size again
stefan [Fri, 11 Jun 2004 20:41:38 +0000 (20:41 +0000)]
Small fix (native stub size)
stefan [Fri, 11 Jun 2004 16:28:13 +0000 (16:28 +0000)]
atomic functions in asmpart.S because of MIPSPro compiler
stefan [Fri, 11 Jun 2004 15:45:05 +0000 (15:45 +0000)]
Atomic operations for MIPS
stefan [Fri, 11 Jun 2004 12:16:04 +0000 (12:16 +0000)]
More darwin-threads stuff
stefan [Fri, 11 Jun 2004 11:34:49 +0000 (11:34 +0000)]
Null pointer exception working again on darwin
twisti [Wed, 9 Jun 2004 16:28:52 +0000 (16:28 +0000)]
- removed cacao_shutdown
- support classfiles up to 48.0