cacao.git
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

19 years agoTry to measure loading and compile time correctly.
twisti [Tue, 17 Aug 2004 12:43:17 +0000 (12:43 +0000)]
Try to measure loading and compile time correctly.

19 years ago- moved <clinit> call back into internal function
twisti [Tue, 17 Aug 2004 12:42:34 +0000 (12:42 +0000)]
- moved <clinit> call back into internal function
- try to measure compile time correctly

19 years agoUse initLocks() only with USE_THREADS.
twisti [Tue, 17 Aug 2004 10:03:55 +0000 (10:03 +0000)]
Use initLocks() only with USE_THREADS.

19 years agoUse initLocks() only with USE_THREADS.
twisti [Tue, 17 Aug 2004 09:25:01 +0000 (09:25 +0000)]
Use initLocks() only with USE_THREADS.

19 years agoSome changes.
twisti [Mon, 16 Aug 2004 12:23:40 +0000 (12:23 +0000)]
Some changes.

19 years agoDone?
twisti [Thu, 12 Aug 2004 21:26:54 +0000 (21:26 +0000)]
Done?

19 years agoLinking-almost-done save.
twisti [Wed, 11 Aug 2004 20:42:08 +0000 (20:42 +0000)]
Linking-almost-done save.

19 years agoNext save, with linking started.
twisti [Mon, 9 Aug 2004 22:19:09 +0000 (22:19 +0000)]
Next save, with linking started.

19 years agoSaving...
twisti [Fri, 6 Aug 2004 22:24:09 +0000 (22:24 +0000)]
Saving...

19 years agoloader.tex
twisti [Thu, 5 Aug 2004 16:21:31 +0000 (16:21 +0000)]
loader.tex

19 years agoSome boring fixes (mainly protection against spurious wakeups from cond_wait)
stefan [Thu, 5 Aug 2004 08:31:55 +0000 (08:31 +0000)]
Some boring fixes (mainly protection against spurious wakeups from cond_wait)

19 years agoNext save.
twisti [Wed, 4 Aug 2004 23:10:10 +0000 (23:10 +0000)]
Next save.

19 years agobarrier changes
stefan [Wed, 4 Aug 2004 15:20:40 +0000 (15:20 +0000)]
barrier changes

19 years agoUse other copy functions for classpath to catch \0.
twisti [Tue, 3 Aug 2004 18:47:19 +0000 (18:47 +0000)]
Use other copy functions for classpath to catch \0.

19 years agoFixes to compile with current compilers, like kjc, jikes and sun javac.
twisti [Tue, 3 Aug 2004 18:23:05 +0000 (18:23 +0000)]
Fixes to compile with current compilers, like kjc, jikes and sun javac.

19 years agoUse kopi compiler.
twisti [Tue, 3 Aug 2004 18:22:32 +0000 (18:22 +0000)]
Use kopi compiler.

19 years agoapparently, getcallingmethod is gone
stefan [Tue, 3 Aug 2004 16:46:41 +0000 (16:46 +0000)]
apparently, getcallingmethod is gone

19 years agoFirst save
twisti [Mon, 2 Aug 2004 22:35:07 +0000 (22:35 +0000)]
First save

19 years agoForget environment CLASSPATH if one is given with -classpath like sun and
twisti [Mon, 2 Aug 2004 22:33:03 +0000 (22:33 +0000)]
Forget environment CLASSPATH if one is given with -classpath like sun and
gcj do (thanks to motse). TODO: set some type of bootclasspath

19 years agonative holdsLock
stefan [Mon, 2 Aug 2004 21:51:33 +0000 (21:51 +0000)]
native holdsLock

19 years agoholdsLock and MonitorState fix + slight optimization
stefan [Mon, 2 Aug 2004 21:49:07 +0000 (21:49 +0000)]
holdsLock and MonitorState fix + slight optimization

19 years agoSome new x86_64 entries.
twisti [Mon, 2 Aug 2004 15:35:40 +0000 (15:35 +0000)]
Some new x86_64 entries.

19 years agox86_64 include added
cacao [Mon, 2 Aug 2004 15:27:15 +0000 (15:27 +0000)]
x86_64 include added

19 years agoSave.
twisti [Mon, 2 Aug 2004 13:53:02 +0000 (13:53 +0000)]
Save.

19 years agocallLongMethod - wrong return type
motse [Mon, 2 Aug 2004 11:41:26 +0000 (11:41 +0000)]
callLongMethod - wrong return type

19 years agohow is anyone supposed to find all these spots?
stefan [Mon, 2 Aug 2004 07:27:00 +0000 (07:27 +0000)]
how is anyone supposed to find all these spots?

19 years agoupdates
stefan [Mon, 2 Aug 2004 07:06:28 +0000 (07:06 +0000)]
updates

19 years agopreparation for new threads
stefan [Mon, 2 Aug 2004 07:04:34 +0000 (07:04 +0000)]
preparation for new threads

19 years agonew native threads
stefan [Sun, 1 Aug 2004 22:51:54 +0000 (22:51 +0000)]
new native threads

19 years ago__IRIX__ define
stefan [Sun, 1 Aug 2004 22:34:57 +0000 (22:34 +0000)]
__IRIX__ define

19 years agoirix threads
stefan [Sun, 1 Aug 2004 22:34:16 +0000 (22:34 +0000)]
irix threads

19 years agonew native threads
stefan [Sun, 1 Aug 2004 22:01:00 +0000 (22:01 +0000)]
new native threads

19 years agocompatibility changes with new native threads
stefan [Sun, 1 Aug 2004 22:00:26 +0000 (22:00 +0000)]
compatibility changes with new native threads

19 years agoback out our change
stefan [Sun, 1 Aug 2004 21:59:08 +0000 (21:59 +0000)]
back out our change

19 years agoSuppress GC warnings
stefan [Sun, 1 Aug 2004 21:58:42 +0000 (21:58 +0000)]
Suppress GC warnings
Remove unused warning
GC_INIT

19 years agoSupport exception from monitorexit
stefan [Sun, 1 Aug 2004 21:56:36 +0000 (21:56 +0000)]
Support exception from monitorexit

19 years agoInitialize object locks
stefan [Sun, 1 Aug 2004 21:56:10 +0000 (21:56 +0000)]
Initialize object locks

19 years agogreen threads fix
stefan [Sun, 1 Aug 2004 21:55:39 +0000 (21:55 +0000)]
green threads fix

19 years agoadded InterruptedException
stefan [Sun, 1 Aug 2004 21:54:20 +0000 (21:54 +0000)]
added InterruptedException

19 years agoInitialize object locks
stefan [Sun, 1 Aug 2004 21:53:32 +0000 (21:53 +0000)]
Initialize object locks
Support IllegalMonitorStateException in monitorexit

19 years agonew native threads implementation
stefan [Sun, 1 Aug 2004 21:50:08 +0000 (21:50 +0000)]
new native threads implementation

19 years agoInitialize sigaction properly
stefan [Sun, 1 Aug 2004 07:29:50 +0000 (07:29 +0000)]
Initialize sigaction properly

19 years agoadd java.awt{Graphics.Window} to natheaders
motse [Sat, 31 Jul 2004 23:00:59 +0000 (23:00 +0000)]
add java.awt{Graphics.Window} to natheaders

19 years agoCallLongMethod implementation added
motse [Sat, 31 Jul 2004 22:57:44 +0000 (22:57 +0000)]
CallLongMethod implementation added

19 years agoC-x-s
twisti [Fri, 30 Jul 2004 21:56:24 +0000 (21:56 +0000)]
C-x-s

19 years agox86_64 section
twisti [Wed, 28 Jul 2004 19:37:36 +0000 (19:37 +0000)]
x86_64 section