cacao.git
19 years agorta invoke interface updates
carolyn [Mon, 15 Nov 2004 08:34:10 +0000 (08:34 +0000)]
rta invoke interface updates

19 years agoskip new instructions for now
jowenn [Sun, 14 Nov 2004 17:02:15 +0000 (17:02 +0000)]
skip new instructions for now

19 years ago2 new icmds, new exception table ordering for inlining, exception handler fix for...
jowenn [Sun, 14 Nov 2004 14:48:49 +0000 (14:48 +0000)]
2 new icmds, new exception table ordering for inlining, exception handler fix for synchronized methods, one typecheck test temporarily disabled for the inlining case

19 years agobetter exit with status, instead of hardcoded one
jowenn [Sun, 14 Nov 2004 14:15:58 +0000 (14:15 +0000)]
better exit with status, instead of hardcoded one

19 years agoexit with an error code of 1 if cacao exits because of an uncaught exception
jowenn [Sun, 14 Nov 2004 13:46:29 +0000 (13:46 +0000)]
exit with an error code of 1 if cacao exits because of an  uncaught exception

19 years agoc89 fix.
twisti [Sun, 14 Nov 2004 12:58:52 +0000 (12:58 +0000)]
c89 fix.

19 years agofix // comment
motse [Fri, 12 Nov 2004 18:32:57 +0000 (18:32 +0000)]
fix // comment

19 years agoUse exception generating functions.
twisti [Fri, 12 Nov 2004 16:36:13 +0000 (16:36 +0000)]
Use exception generating functions.

19 years ago-ansi -pedantic bug fixes.
twisti [Fri, 12 Nov 2004 16:35:44 +0000 (16:35 +0000)]
-ansi -pedantic bug fixes.

19 years agoInclude <sys/types.h> on darwin before <sys/mman.h>, this is a bug fix for
twisti [Fri, 12 Nov 2004 15:52:35 +0000 (15:52 +0000)]
Include <sys/types.h> on darwin before <sys/mman.h>, this is a bug fix for
-ansi compilation.

19 years agoIf we compile with -ansi or c89 compilers, we have to define:
twisti [Fri, 12 Nov 2004 14:53:16 +0000 (14:53 +0000)]
If we compile with -ansi or c89 compilers, we have to define:
#define inline __inline

19 years ago-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 14:13:44 +0000 (14:13 +0000)]
-ansi -pedantic fixes.

19 years ago-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 14:05:10 +0000 (14:05 +0000)]
-ansi -pedantic fixes.

19 years ago- use -ansi -pedantic under *linux* and *darwin*
twisti [Fri, 12 Nov 2004 13:37:01 +0000 (13:37 +0000)]
- use -ansi -pedantic under *linux* and *darwin*
- removed unused AC_SUBST(COMPILER_OBJECTS)

19 years ago-ansi -pedantic fixes.
twisti [Fri, 12 Nov 2004 13:34:26 +0000 (13:34 +0000)]
-ansi -pedantic fixes.

19 years agoWe do not use c++, so omit -fexceptions.
twisti [Fri, 12 Nov 2004 13:32:50 +0000 (13:32 +0000)]
We do not use c++, so omit -fexceptions.

19 years agoRemoved warnings.
twisti [Fri, 12 Nov 2004 13:26:03 +0000 (13:26 +0000)]
Removed warnings.

19 years agoRemoved warning: cast s4 to s8 on 64-bit machines.
twisti [Fri, 12 Nov 2004 13:25:02 +0000 (13:25 +0000)]
Removed warning: cast s4 to s8 on 64-bit machines.

19 years agoRemoved warning.
twisti [Fri, 12 Nov 2004 13:24:14 +0000 (13:24 +0000)]
Removed warning.

19 years ago#ifdef's for MAP_ANONYMOUS, MAP_ANON and of none is available.
twisti [Fri, 12 Nov 2004 11:31:47 +0000 (11:31 +0000)]
#ifdef's for MAP_ANONYMOUS, MAP_ANON and of none is available.

19 years agoCheck for MAP_ANON (needed for darwin) and removed MAP_ANONYMOUS defines
twisti [Fri, 12 Nov 2004 11:26:26 +0000 (11:26 +0000)]
Check for MAP_ANON (needed for darwin) and removed MAP_ANONYMOUS defines
in CFLAGS. Made problems with boehm on darwin.

19 years agoImplemented availableProcessors() for darwin.
twisti [Fri, 12 Nov 2004 11:25:19 +0000 (11:25 +0000)]
Implemented availableProcessors() for darwin.

19 years agoZIP_LIBS in dependencies make some problems.
twisti [Fri, 12 Nov 2004 10:02:54 +0000 (10:02 +0000)]
ZIP_LIBS in dependencies make some problems.

19 years ago- compiler data structure changes
twisti [Thu, 11 Nov 2004 14:41:42 +0000 (14:41 +0000)]
- compiler data structure changes
- fixed bug in CHECKEXCEPTION handling code

19 years ago- fixed clinit exceptions
twisti [Thu, 11 Nov 2004 14:40:48 +0000 (14:40 +0000)]
- fixed clinit exceptions
- use exception generating functions

19 years ago#ifdef #warning (mipspro compiler).
twisti [Thu, 11 Nov 2004 14:40:10 +0000 (14:40 +0000)]
#ifdef #warning (mipspro compiler).

19 years agoHandle null pointers in utf_display, utf_display_classname, utf_sprint and
twisti [Thu, 11 Nov 2004 14:39:13 +0000 (14:39 +0000)]
Handle null pointers in utf_display, utf_display_classname, utf_sprint and
utf_sprint_classname.

19 years agoCheck for init_system_exceptions errors.
twisti [Thu, 11 Nov 2004 14:37:23 +0000 (14:37 +0000)]
Check for init_system_exceptions errors.

19 years agoCheck for loading/linking errors in init_system_exceptions.
twisti [Thu, 11 Nov 2004 14:37:01 +0000 (14:37 +0000)]
Check for loading/linking errors in init_system_exceptions.

19 years agoCompiler data structure changes.
twisti [Thu, 11 Nov 2004 11:16:46 +0000 (11:16 +0000)]
Compiler data structure changes.

19 years agoPass registerdata to preregpass.
twisti [Thu, 11 Nov 2004 11:16:30 +0000 (11:16 +0000)]
Pass registerdata to preregpass.

19 years agoPart 1 of powerpc changes.
twisti [Thu, 11 Nov 2004 10:47:04 +0000 (10:47 +0000)]
Part 1 of powerpc changes.

19 years agoAdditional #endif removed.
twisti [Thu, 11 Nov 2004 10:31:20 +0000 (10:31 +0000)]
Additional #endif removed.

19 years agoDefines in reg_of_var for __POWERPC__, so we can remove the version in
twisti [Thu, 11 Nov 2004 10:27:49 +0000 (10:27 +0000)]
Defines in reg_of_var for __POWERPC__, so we can remove the version in
jit/powerpc/codegen.c.

19 years agoinline corrections to if test; PRIVATE now inlined; warning if inlined method flags...
carolyn [Thu, 11 Nov 2004 10:09:10 +0000 (10:09 +0000)]
inline corrections to if test; PRIVATE now inlined; warning if inlined method flags wrong; only inline starting with main; added inline performance test

19 years ago-inv sets opt_rt=true / moved rtMissed inputs to rtIn directory
carolyn [Wed, 10 Nov 2004 10:33:59 +0000 (10:33 +0000)]
-inv sets opt_rt=true / moved rtMissed inputs to rtIn directory

19 years agoinline virtuals update (need to use -rt -inv together) + updated list of methods...
carolyn [Tue, 9 Nov 2004 15:56:54 +0000 (15:56 +0000)]
inline virtuals update (need to use -rt -inv together) + updated list of methods missed, but always called

19 years agofix delayed jni init for disabled threads build
motse [Tue, 9 Nov 2004 11:54:53 +0000 (11:54 +0000)]
fix delayed jni init for disabled threads build

19 years agodelay jni init til the firt NewGlobalRef call
motse [Mon, 8 Nov 2004 22:57:28 +0000 (22:57 +0000)]
delay jni init til the firt NewGlobalRef call

19 years agoupdate to RT statistics for verbose
carolyn [Mon, 8 Nov 2004 21:08:13 +0000 (21:08 +0000)]
update to RT statistics for verbose

19 years agoCompiler data structure changes.
twisti [Mon, 8 Nov 2004 13:29:58 +0000 (13:29 +0000)]
Compiler data structure changes.

19 years agoRemoved unused sigcontext.h.
twisti [Mon, 8 Nov 2004 13:13:00 +0000 (13:13 +0000)]
Removed unused sigcontext.h.

19 years agoWe again use the dump memory in the jit compiler.
twisti [Mon, 8 Nov 2004 11:24:50 +0000 (11:24 +0000)]
We again use the dump memory in the jit compiler.

19 years agoHandle properties in a much better and clearer way.
twisti [Mon, 8 Nov 2004 11:09:01 +0000 (11:09 +0000)]
Handle properties in a much better and clearer way.

19 years agoremove dummy implementation of GdkGraphics GdkPixbufDecoder native functions
motse [Sat, 6 Nov 2004 22:55:46 +0000 (22:55 +0000)]
remove dummy implementation of GdkGraphics GdkPixbufDecoder native functions

19 years agoadd escape character for underscore to codegen_resolve_native
motse [Sat, 6 Nov 2004 21:20:53 +0000 (21:20 +0000)]
add escape character for underscore to codegen_resolve_native

19 years agocorrect exception handler range checks
motse [Sat, 6 Nov 2004 15:08:49 +0000 (15:08 +0000)]
correct exception handler range checks

19 years agoCompiler data structure changes.
twisti [Fri, 5 Nov 2004 16:23:47 +0000 (16:23 +0000)]
Compiler data structure changes.

19 years agoMade code patch thread safe in check_clinit.
twisti [Fri, 5 Nov 2004 16:23:29 +0000 (16:23 +0000)]
Made code patch thread safe in check_clinit.

19 years agoRemoved obsolete %ecx, %edx stuff.
twisti [Fri, 5 Nov 2004 16:23:02 +0000 (16:23 +0000)]
Removed obsolete %ecx, %edx stuff.

19 years agoMove typedefs in front of includes to resolve circular dependencies.
twisti [Fri, 5 Nov 2004 15:33:49 +0000 (15:33 +0000)]
Move typedefs in front of includes to resolve circular dependencies.

19 years agoAdded java.util.VMTimeZone to CLASSES.
twisti [Fri, 5 Nov 2004 15:05:14 +0000 (15:05 +0000)]
Added java.util.VMTimeZone to CLASSES.

19 years agoCompiler data structure changes. This one is huge!
twisti [Fri, 5 Nov 2004 14:33:14 +0000 (14:33 +0000)]
Compiler data structure changes. This one is huge!

19 years agoCheck messages of some exceptions.
twisti [Fri, 5 Nov 2004 14:26:35 +0000 (14:26 +0000)]
Check messages of some exceptions.

19 years agoAdapted reentrant compiler fixes from christian ullrich.
twisti [Fri, 5 Nov 2004 14:19:32 +0000 (14:19 +0000)]
Adapted reentrant compiler fixes from christian ullrich.

19 years agoUse exception functions to generate inline exception. This leads to smaller
twisti [Fri, 5 Nov 2004 14:18:13 +0000 (14:18 +0000)]
Use exception functions to generate inline exception. This leads to smaller
code size.

19 years agoUse new_arrayindexoutofboundsexception.
twisti [Fri, 5 Nov 2004 14:16:19 +0000 (14:16 +0000)]
Use new_arrayindexoutofboundsexception.

19 years agoAgain changes concerning compiler data structures. This one is huge!
twisti [Fri, 5 Nov 2004 14:14:15 +0000 (14:14 +0000)]
Again changes concerning compiler data structures. This one is huge!

19 years ago- made code patching thread safe in check_clinit (use only 1 move)
twisti [Fri, 5 Nov 2004 14:13:05 +0000 (14:13 +0000)]
- made code patching thread safe in check_clinit (use only 1 move)
- use exception functions

19 years agoAhm, umh, just a commit to move my changes into cvs to implement it
twisti [Fri, 5 Nov 2004 14:08:48 +0000 (14:08 +0000)]
Ahm, umh, just a commit to move my changes into cvs to implement it
correctly.

19 years agoCall Class.getName() to get print the class name in the stacktrace as sun
twisti [Fri, 5 Nov 2004 14:06:38 +0000 (14:06 +0000)]
Call Class.getName() to get print the class name in the stacktrace as sun
does.

19 years ago- made defineClass to work
twisti [Fri, 5 Nov 2004 14:00:22 +0000 (14:00 +0000)]
- made defineClass to work
- handle exceptions in getPrimitiveClass

19 years agoImplemented throwException. Can't remember but we need it for something
twisti [Fri, 5 Nov 2004 13:58:25 +0000 (13:58 +0000)]
Implemented throwException. Can't remember but we need it for something
(maybe tomcat).

19 years agoThrow nullpointer exception in utf_strlen if NULL is passed.
twisti [Fri, 5 Nov 2004 13:55:33 +0000 (13:55 +0000)]
Throw nullpointer exception in utf_strlen if NULL is passed.

19 years agoThrow nullpointer exceptions in javastring_new_char, javastring_new if NULL
twisti [Fri, 5 Nov 2004 13:54:52 +0000 (13:54 +0000)]
Throw nullpointer exceptions in javastring_new_char, javastring_new if NULL
is passed.

19 years agoDon't clear removed registerdata.
twisti [Fri, 5 Nov 2004 13:53:13 +0000 (13:53 +0000)]
Don't clear removed registerdata.

19 years ago- removed pointer to jit data structures
twisti [Fri, 5 Nov 2004 13:51:49 +0000 (13:51 +0000)]
- removed pointer to jit data structures
- smaller changes

19 years agoAdded new_arraystoreexception for asmpart.
twisti [Fri, 5 Nov 2004 13:44:03 +0000 (13:44 +0000)]
Added new_arraystoreexception for asmpart.

19 years agoJust a TODO file.
twisti [Fri, 5 Nov 2004 11:31:47 +0000 (11:31 +0000)]
Just a TODO file.

19 years ago- added dumpinfo into threadobject
twisti [Fri, 5 Nov 2004 10:00:58 +0000 (10:00 +0000)]
- added dumpinfo into threadobject
- added emacs tailer

19 years agoMoved stat functions from memory.*.
twisti [Fri, 5 Nov 2004 09:52:49 +0000 (09:52 +0000)]
Moved stat functions from memory.*.

19 years ago- removed literal allocate functions
twisti [Fri, 5 Nov 2004 09:51:07 +0000 (09:51 +0000)]
- removed literal allocate functions
- made dump memory thread save (only with native threads yet!!!)
- moved stat functions into statistics.*

19 years agoUse normal memory alloc functions instead of removed literal ones.
twisti [Fri, 5 Nov 2004 09:49:48 +0000 (09:49 +0000)]
Use normal memory alloc functions instead of removed literal ones.

19 years agoChanged throw_cacao_exception_exit to support variable arguments (...).
twisti [Fri, 5 Nov 2004 09:48:33 +0000 (09:48 +0000)]
Changed throw_cacao_exception_exit to support variable arguments (...).

19 years ago- added global.h include
twisti [Fri, 5 Nov 2004 09:46:07 +0000 (09:46 +0000)]
- added global.h include
- removed unused PANICIF

19 years agonativeLoad remove #ifdef JOWENNDEBUG
motse [Thu, 4 Nov 2004 16:40:43 +0000 (16:40 +0000)]
nativeLoad remove #ifdef JOWENNDEBUG

19 years agotableswitch index problem solved, jump to wrong instruction of inlined functions...
jowenn [Wed, 3 Nov 2004 12:14:50 +0000 (12:14 +0000)]
tableswitch index problem solved, jump to wrong instruction of inlined functions after if/else, one typecheck temporarily disabled

19 years agoFix for --disable-dynamicclasspath with empty LD_LIBRARY_PATH
twisti [Tue, 2 Nov 2004 15:22:57 +0000 (15:22 +0000)]
Fix for --disable-dynamicclasspath with empty LD_LIBRARY_PATH

19 years agotestcase
jowenn [Tue, 2 Nov 2004 09:00:38 +0000 (09:00 +0000)]
testcase

19 years agodynamic native library loading, some inlining changes
jowenn [Tue, 2 Nov 2004 08:58:26 +0000 (08:58 +0000)]
dynamic native library loading, some inlining changes

19 years agoEnable xASTORECONST icmds.
twisti [Mon, 1 Nov 2004 12:23:20 +0000 (12:23 +0000)]
Enable xASTORECONST icmds.

19 years ago- exceptiontable fixes
twisti [Mon, 1 Nov 2004 12:22:52 +0000 (12:22 +0000)]
- exceptiontable fixes
- xASTORECONST icmds implemented

19 years agogcc-2.x compiler fix.
twisti [Mon, 1 Nov 2004 12:21:59 +0000 (12:21 +0000)]
gcc-2.x compiler fix.

19 years agomake sure threadobject->tid has always a non-zero value
motse [Sat, 30 Oct 2004 11:26:00 +0000 (11:26 +0000)]
make sure threadobject->tid has always a non-zero value

19 years agoadd NewGlobalRef to cacao jni
motse [Sat, 30 Oct 2004 11:15:23 +0000 (11:15 +0000)]
add NewGlobalRef to cacao jni

19 years agomake the --disable-__thread check work again
jowenn [Fri, 29 Oct 2004 14:19:00 +0000 (14:19 +0000)]
make the --disable-__thread check work again

19 years agocompile fix
stefan [Fri, 29 Oct 2004 13:21:41 +0000 (13:21 +0000)]
compile fix

19 years agocompile fix
stefan [Thu, 28 Oct 2004 14:39:49 +0000 (14:39 +0000)]
compile fix

19 years agoReentrant jit compiler changes for powerpc.
twisti [Wed, 27 Oct 2004 16:05:14 +0000 (16:05 +0000)]
Reentrant jit compiler changes for powerpc.

19 years agorta update to get rid of debug print
carolyn [Thu, 21 Oct 2004 09:59:33 +0000 (09:59 +0000)]
rta update to get rid of debug print

19 years agoLeft out of RTA update
carolyn [Tue, 19 Oct 2004 14:11:58 +0000 (14:11 +0000)]
Left out of RTA update

19 years ago*** empty log message ***
carolyn [Tue, 19 Oct 2004 12:10:34 +0000 (12:10 +0000)]
*** empty log message ***

19 years agorta rewrite for loader changes
carolyn [Tue, 19 Oct 2004 12:07:18 +0000 (12:07 +0000)]
rta rewrite for loader changes

19 years agoFix a crash in the code which tests, if a method is identifyable by name and paramete...
jowenn [Mon, 11 Oct 2004 20:12:08 +0000 (20:12 +0000)]
Fix a crash in the code which tests, if a method is identifyable by name and parameter list. Since len is used for calculations too, the memset didn't fill the whole array with zeros -> invalid method index -> crash
Make inlining work again on i386. Alpha should work, but it is not tested

19 years agoinline updates (almost finished) to separate class and other variables merged inadver...
carolyn [Mon, 4 Oct 2004 12:55:33 +0000 (12:55 +0000)]
inline updates (almost finished) to separate class and other variables merged inadvertantly when global variables removed

19 years agothere is no "rmb" instruction
stefan [Tue, 24 Aug 2004 19:45:38 +0000 (19:45 +0000)]
there is no "rmb" instruction

19 years agoDon't print stats twice.
twisti [Tue, 17 Aug 2004 19:33:16 +0000 (19:33 +0000)]
Don't print stats twice.

19 years ago- enhanced and fixed DefineClass
twisti [Tue, 17 Aug 2004 15:04:54 +0000 (15:04 +0000)]
- enhanced and fixed DefineClass
- try to measure loading time correctly

19 years ago- added some exception generating functions for the compiler system and to
twisti [Tue, 17 Aug 2004 13:01:24 +0000 (13:01 +0000)]
- added some exception generating functions for the compiler system and to
  get smaller code sizes in java methods:
    - new_unsupportedclassversionerror
    - new_arithmeticexception
    - new_arrayindexoutofboundsexception
    - new_classcastexception
    - new_negativearraysizeexception
    - new_nullpointerexception
- added new exception strings

19 years ago- added a bunch of loader exceptions and errors, compatible with Sun's JVM
twisti [Tue, 17 Aug 2004 12:48:52 +0000 (12:48 +0000)]
- added a bunch of loader exceptions and errors, compatible with Sun's JVM
- some code restructuring
- try to measure loading time correctly
- removed some unnecessary class_load/class_link calls
- smaller fixes