cacao.git
19 years agoDefine CACAO_EXT_DIR.
twisti [Tue, 4 Jan 2005 11:21:18 +0000 (11:21 +0000)]
Define CACAO_EXT_DIR.

19 years agoWarning fixes.
twisti [Tue, 4 Jan 2005 11:21:02 +0000 (11:21 +0000)]
Warning fixes.

19 years agoInclude cacao.h for env variable.
twisti [Tue, 4 Jan 2005 11:19:46 +0000 (11:19 +0000)]
Include cacao.h for env variable.

19 years agoDeclare asm_calljavafunction2int and asm_calljavafunction2float to prevent
twisti [Tue, 4 Jan 2005 11:18:50 +0000 (11:18 +0000)]
Declare asm_calljavafunction2int and asm_calljavafunction2float to prevent
warnings.

19 years agoInstall only into ${prefix}/jre/bin.
twisti [Tue, 4 Jan 2005 11:16:57 +0000 (11:16 +0000)]
Install only into ${prefix}/jre/bin.

19 years agoExport: JNI jvm, env and bootclasspath.
twisti [Tue, 4 Jan 2005 11:16:06 +0000 (11:16 +0000)]
Export: JNI jvm, env and bootclasspath.

19 years ago- started jni invocation
twisti [Tue, 4 Jan 2005 11:15:21 +0000 (11:15 +0000)]
- started jni invocation
- changes INSTALL_PREFIX to CACAO_INSTALL_PREFIX
- classpath bugfix

19 years agoWrapper scripts.
twisti [Mon, 3 Jan 2005 14:03:08 +0000 (14:03 +0000)]
Wrapper scripts.

19 years ago- 0.92cvs
twisti [Wed, 29 Dec 2004 15:07:34 +0000 (15:07 +0000)]
- 0.92cvs
- -O0
- disable __thread by default

19 years agoExport BOOTCLASSPATH and not CLASSPATH.
twisti [Wed, 29 Dec 2004 15:00:57 +0000 (15:00 +0000)]
Export BOOTCLASSPATH and not CLASSPATH.

19 years ago- implemented bootclasspath usage
twisti [Wed, 29 Dec 2004 15:00:25 +0000 (15:00 +0000)]
- implemented bootclasspath usage
- use SystemClassLoader to load main class

19 years agoRemoved unused jitrunning stuff.
twisti [Wed, 29 Dec 2004 14:18:38 +0000 (14:18 +0000)]
Removed unused jitrunning stuff.

19 years agoRemoved : from classpath.
twisti [Wed, 29 Dec 2004 13:48:07 +0000 (13:48 +0000)]
Removed : from classpath.

19 years agoRemoved : from CACAO_RT_JAR_PATH.
twisti [Wed, 29 Dec 2004 13:47:33 +0000 (13:47 +0000)]
Removed : from CACAO_RT_JAR_PATH.

19 years ago#ifdef USE_THREADS monitorenter/exit calls.
twisti [Wed, 29 Dec 2004 13:47:15 +0000 (13:47 +0000)]
#ifdef USE_THREADS monitorenter/exit calls.

19 years agoUnified icmd_names and opcode_names (name length, removed ICMDs from opcode
twisti [Wed, 29 Dec 2004 13:24:01 +0000 (13:24 +0000)]
Unified icmd_names and opcode_names (name length, removed ICMDs from opcode
table, undef number).

19 years ago#ifdef USE_THREADS monitorenter/exit calls.
twisti [Wed, 29 Dec 2004 12:58:30 +0000 (12:58 +0000)]
#ifdef USE_THREADS monitorenter/exit calls.

19 years agoReturn type fix in GetMethodID.
twisti [Wed, 29 Dec 2004 12:55:32 +0000 (12:55 +0000)]
Return type fix in GetMethodID.

19 years ago- make classpath_info a struct, not a union (there are just a few entries)
twisti [Wed, 29 Dec 2004 12:47:18 +0000 (12:47 +0000)]
- make classpath_info a struct, not a union (there are just a few entries)
- if suck_init called more than once, the classpath entries are appended

19 years agoSet correct java.vendor.url and java.home.
twisti [Wed, 29 Dec 2004 12:39:46 +0000 (12:39 +0000)]
Set correct java.vendor.url and java.home.

19 years agoadded option -jar to cacao
motse [Mon, 27 Dec 2004 21:35:23 +0000 (21:35 +0000)]
added option -jar to cacao

19 years agoremove a few warnings
motse [Thu, 23 Dec 2004 17:50:43 +0000 (17:50 +0000)]
remove a few warnings

19 years agoThis commit was manufactured by cvs2svn to create tag
unknown [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
This commit was manufactured by cvs2svn to create tag
'cacao-0_91-release'.

19 years agoChanged target to check.
twisti [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
Changed target to check.

19 years ago- typo
twisti [Thu, 23 Dec 2004 11:19:44 +0000 (11:19 +0000)]
- typo
- added native to subdirs

19 years agoextest_clinit removed.
twisti [Wed, 22 Dec 2004 15:35:54 +0000 (15:35 +0000)]
extest_clinit removed.

19 years agoRelease 0.91, -O2.
twisti [Wed, 22 Dec 2004 14:56:34 +0000 (14:56 +0000)]
Release 0.91, -O2.

19 years agoAdded stub size InternalError.
twisti [Wed, 22 Dec 2004 14:50:00 +0000 (14:50 +0000)]
Added stub size InternalError.

19 years agoDARWIN compilation fix.
twisti [Wed, 22 Dec 2004 13:17:24 +0000 (13:17 +0000)]
DARWIN compilation fix.

19 years ago#include "mm/boehm.h"
twisti [Wed, 22 Dec 2004 12:52:24 +0000 (12:52 +0000)]
#include "mm/boehm.h"

19 years agoUse montiorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:37:58 +0000 (12:37 +0000)]
Use montiorenter/exit only with threads.

19 years ago- 3 different clinit classes, because an ExceptionInInitializerError causes
twisti [Wed, 22 Dec 2004 12:31:07 +0000 (12:31 +0000)]
- 3 different clinit classes, because an ExceptionInInitializerError causes
  the class to be undefined

19 years agoNow in extest.java.
twisti [Wed, 22 Dec 2004 12:29:25 +0000 (12:29 +0000)]
Now in extest.java.

19 years agoUse monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:21:38 +0000 (12:21 +0000)]
Use monitorenter/exit only with threads.

19 years ago- use monitorenter/exit only with threads
twisti [Wed, 22 Dec 2004 11:07:18 +0000 (11:07 +0000)]
- use monitorenter/exit only with threads
- declare: asm_calljavafunction2int and asm_calljavafunction2float

19 years ago- use monitorenter/exit only with threads
twisti [Wed, 22 Dec 2004 10:49:35 +0000 (10:49 +0000)]
- use monitorenter/exit only with threads
- some darwin defines

19 years agoQuick hack: #ifdef USE_THREADS cacao_catch_Handler's code.
twisti [Wed, 22 Dec 2004 10:48:27 +0000 (10:48 +0000)]
Quick hack: #ifdef USE_THREADS cacao_catch_Handler's code.

19 years agoUse monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 10:47:13 +0000 (10:47 +0000)]
Use monitorenter/exit only with threads.

19 years agoMULTIANEWARRAY bugfix.
twisti [Wed, 22 Dec 2004 10:13:01 +0000 (10:13 +0000)]
MULTIANEWARRAY bugfix.

19 years ago- MULTIANEWARRAY bugfix
twisti [Wed, 22 Dec 2004 09:54:48 +0000 (09:54 +0000)]
- MULTIANEWARRAY bugfix
- added unknown ICMD exception
- warning fixes

19 years ago- MULTIANEWARRAY bugfix
twisti [Wed, 22 Dec 2004 09:35:31 +0000 (09:35 +0000)]
- MULTIANEWARRAY bugfix
- warning fixes

19 years agoless warnings and C90 compile fix
jowenn [Wed, 22 Dec 2004 09:27:58 +0000 (09:27 +0000)]
less warnings and C90 compile fix

19 years agoone useless debug output less
jowenn [Tue, 21 Dec 2004 20:35:54 +0000 (20:35 +0000)]
one useless debug output less

19 years agodon't terminate with "method not found" during compile time Exceptions, jit_compile...
jowenn [Tue, 21 Dec 2004 20:19:19 +0000 (20:19 +0000)]
don't terminate with "method not found" during compile time Exceptions, jit_compile returns now the native stub if it is called with a native function (JNI), 2 additinal static initializer tests

19 years agowrong comment end
jowenn [Tue, 21 Dec 2004 16:54:26 +0000 (16:54 +0000)]
wrong comment end

19 years agoAdded a native function, which is not implemented.
twisti [Tue, 21 Dec 2004 16:53:37 +0000 (16:53 +0000)]
Added a native function, which is not implemented.

19 years ago- test for clinit exceptions in PUTSTATIC and GETSTATIC
twisti [Tue, 21 Dec 2004 16:52:37 +0000 (16:52 +0000)]
- test for clinit exceptions in PUTSTATIC and GETSTATIC
- test for exceptions in native stub

19 years ago- restuctured native stub
twisti [Tue, 21 Dec 2004 16:50:02 +0000 (16:50 +0000)]
- restuctured native stub
- throw exception if stubsize is too small for generated instructions

19 years agoOutput of check, i think ;-)
twisti [Tue, 21 Dec 2004 16:32:46 +0000 (16:32 +0000)]
Output of check, i think ;-)

19 years agokjc runs again. verbose typechecking partly
jowenn [Tue, 21 Dec 2004 15:15:26 +0000 (15:15 +0000)]
kjc runs again. verbose typechecking partly

19 years agojvm98 should work again.
twisti [Tue, 21 Dec 2004 14:10:20 +0000 (14:10 +0000)]
jvm98 should work again.

19 years agoDeclare functions with (void).
twisti [Tue, 21 Dec 2004 10:14:35 +0000 (10:14 +0000)]
Declare functions with (void).

19 years ago- removed pthread/semaphore includes
twisti [Tue, 21 Dec 2004 10:13:27 +0000 (10:13 +0000)]
- removed pthread/semaphore includes
- declare functions with (void)

19 years agoglobal.h include path fix.
twisti [Tue, 21 Dec 2004 10:12:44 +0000 (10:12 +0000)]
global.h include path fix.

19 years ago#include <pthread.h>
twisti [Tue, 21 Dec 2004 10:11:23 +0000 (10:11 +0000)]
#include <pthread.h>

19 years agoFixed function call.
twisti [Tue, 21 Dec 2004 10:09:08 +0000 (10:09 +0000)]
Fixed function call.

19 years ago- declare functions with (void)
twisti [Tue, 21 Dec 2004 10:08:06 +0000 (10:08 +0000)]
- declare functions with (void)
- fixed function calls

19 years ago- check more precise for $host_cpu (e.g. problems with powerpc64)
twisti [Tue, 21 Dec 2004 09:58:17 +0000 (09:58 +0000)]
- check more precise for $host_cpu (e.g. problems with powerpc64)
- move INSTALL_PREFIX into config.h

19 years ago- fixed MULTIANEWARRAY SAVEDVAR bug
twisti [Tue, 21 Dec 2004 09:56:58 +0000 (09:56 +0000)]
- fixed MULTIANEWARRAY SAVEDVAR bug
- increased MCODECHECK in exception stubs
- smaller changes

19 years agoRemoved logging from init_systemclassloader.
twisti [Tue, 21 Dec 2004 09:55:33 +0000 (09:55 +0000)]
Removed logging from init_systemclassloader.

19 years ago- throw exception with name in GetMethodID and GetStaticMethodID
twisti [Tue, 21 Dec 2004 09:51:19 +0000 (09:51 +0000)]
- throw exception with name in GetMethodID and GetStaticMethodID
- removed logging

19 years agoAdded gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:37:22 +0000 (09:37 +0000)]
Added gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.

19 years agoThis one is generated.
twisti [Tue, 21 Dec 2004 09:36:57 +0000 (09:36 +0000)]
This one is generated.

19 years ago- added gnu header and emacs tailer
twisti [Tue, 21 Dec 2004 09:35:27 +0000 (09:35 +0000)]
- added gnu header and emacs tailer
- sorted awt classes

19 years agoAdded awt includes to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:15:09 +0000 (09:15 +0000)]
Added awt includes to CLEANFILES.

19 years agoWarning fixes.
twisti [Tue, 21 Dec 2004 09:13:53 +0000 (09:13 +0000)]
Warning fixes.

19 years agofix dummy macro for !(i386 || alpha)
jowenn [Tue, 21 Dec 2004 07:46:58 +0000 (07:46 +0000)]
fix dummy macro for !(i386 || alpha)

19 years ago#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.
twisti [Mon, 20 Dec 2004 22:21:06 +0000 (22:21 +0000)]
#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.

19 years ago- removed i386 method_uses_ stuff
twisti [Mon, 20 Dec 2004 21:05:31 +0000 (21:05 +0000)]
- removed i386 method_uses_ stuff
- builtin{1,2} warning fixes
- replace intreg_argnum with INT_ARG_CNT

19 years agoRemoved i386 method_uses_ stuff.
twisti [Mon, 20 Dec 2004 21:04:08 +0000 (21:04 +0000)]
Removed i386 method_uses_ stuff.

19 years agogenerate package names correctly, now they are not allways (utf*)0. Adds a new crash...
jowenn [Mon, 20 Dec 2004 20:16:57 +0000 (20:16 +0000)]
generate package names correctly, now they are not allways (utf*)0. Adds a new crash in the typechecking code. The package checks there have to be redone. Now fixed to not crash, but the check is useless currently. Now IllegalAccessException is thrown, if a not accessible field (currently only read (will fix set operations tomorrow)) is being accessed via reflection. method invokation does the check too. If a reflected methodID represents an abstract method or the class it belongs to is an interface, the virtual method is now resolved and called instead.

19 years agoone additional condition which should throw an array index out of bounds, instead...
jowenn [Sun, 19 Dec 2004 17:39:01 +0000 (17:39 +0000)]
one additional condition which should throw an array index out of bounds, instead of crashing. Less debug output. One additional test for crash compatibility with sun's vm

19 years agocalculate destination block offset correctly. Problem (segfault) was triggered in...
jowenn [Sun, 19 Dec 2004 12:40:24 +0000 (12:40 +0000)]
calculate destination block offset correctly. Problem (segfault) was triggered in jython 2.1 in the loadFromPath method

19 years ago1) disable the is leaf check for i386, where there is no problem
jowenn [Fri, 17 Dec 2004 23:05:27 +0000 (23:05 +0000)]
1) disable the is leaf check for i386, where there is no problem
2) classes which are used as objects should really be linked
3) fix fill_callblock_objA to handle references and arrays correctly
(1 detected through mauve test suite. This will have to be fixed for the Alpha architecture, where  the ret address for leaf methods is not stored on the stack)
(2+3 prevented jython from starting. Right now a hello world works, but there are other problems I have to hunt down)

19 years ago- fixed function comments
twisti [Fri, 17 Dec 2004 14:30:32 +0000 (14:30 +0000)]
- fixed function comments
- removed log output

19 years agoCheck MULTIANEWARRAY SAVEDVAR copy code.
twisti [Fri, 17 Dec 2004 12:30:34 +0000 (12:30 +0000)]
Check MULTIANEWARRAY SAVEDVAR copy code.

19 years agoadd check for lr != null to threadHoldsLock
motse [Thu, 16 Dec 2004 22:13:10 +0000 (22:13 +0000)]
add check for lr != null to threadHoldsLock

19 years agodisable gthread-jni's portable native sync due to yet unresolved threading issues
motse [Thu, 16 Dec 2004 16:46:57 +0000 (16:46 +0000)]
disable gthread-jni's portable native sync due to yet unresolved threading issues

19 years agoadd gnu_java_awt_peer_gtk_GdkFontPeer.h to nativetable.inc
motse [Thu, 16 Dec 2004 14:40:58 +0000 (14:40 +0000)]
add gnu_java_awt_peer_gtk_GdkFontPeer.h to nativetable.inc

19 years agoit should not be IllegalArgumentException, but IllegalAccessException, but that check...
jowenn [Wed, 15 Dec 2004 17:25:04 +0000 (17:25 +0000)]
it should not be IllegalArgumentException, but IllegalAccessException, but that check looks wrong anyway. I have to look more into the the topic of handling the IllegalArgumentException, so this is commented out again for now

19 years agothrow the required acceptions in the Field.getXYZ natives, support for static fields...
jowenn [Wed, 15 Dec 2004 16:21:20 +0000 (16:21 +0000)]
throw the required acceptions in the Field.getXYZ natives, support for static fields in reflection. add missing use_class_as_object call

19 years agopowerpc-linux changes.
twisti [Wed, 15 Dec 2004 16:14:57 +0000 (16:14 +0000)]
powerpc-linux changes.

19 years ago#ifdef the cacao_catch_Handler to __DARWIN__.
twisti [Wed, 15 Dec 2004 15:55:32 +0000 (15:55 +0000)]
#ifdef the cacao_catch_Handler to __DARWIN__.

19 years agoUse dynamic buffer in log_message_class and log_message_method to prevent
twisti [Wed, 15 Dec 2004 15:48:43 +0000 (15:48 +0000)]
Use dynamic buffer in log_message_class and log_message_method to prevent
buffer overflows.

19 years ago- use bl instead of lwz-mtctr-bctrl sequence
twisti [Wed, 15 Dec 2004 12:57:23 +0000 (12:57 +0000)]
- use bl instead of lwz-mtctr-bctrl sequence
- removed _ from symbols and added defines for darwin (still to decide how
  to check for darwin assembler)

19 years agoCalculate regoff for float ARGVAR's correcly.
twisti [Tue, 14 Dec 2004 13:16:11 +0000 (13:16 +0000)]
Calculate regoff for float ARGVAR's correcly.

19 years agoFixed x86_64 argument passing typo.
twisti [Tue, 14 Dec 2004 13:14:40 +0000 (13:14 +0000)]
Fixed x86_64 argument passing typo.

19 years agoFixed argument passing in native stub, testarguments now works properly.
twisti [Mon, 13 Dec 2004 16:58:37 +0000 (16:58 +0000)]
Fixed argument passing in native stub, testarguments now works properly.

19 years ago- more checks
twisti [Mon, 13 Dec 2004 10:09:35 +0000 (10:09 +0000)]
- more checks
- gnu header

19 years ago- call builtin_trace_args (runverbose) after monitorenter, to get a proper
twisti [Mon, 13 Dec 2004 08:44:56 +0000 (08:44 +0000)]
- call builtin_trace_args (runverbose) after monitorenter, to get a proper
  calltrace with threads
- nativestub changes: fixed stub size (throw an exception we the sub is too
  small)

19 years ago- much indent (sorry)
twisti [Mon, 13 Dec 2004 08:41:33 +0000 (08:41 +0000)]
- much indent (sorry)
- asm_calljavafunction2 argument copy bugfix

19 years agoChanged x86_64 abi back to 8 float argument registers.
twisti [Mon, 13 Dec 2004 08:40:16 +0000 (08:40 +0000)]
Changed x86_64 abi back to 8 float argument registers.

19 years agoDon't export loadingtime and compilingtime (error with gcc-4.0).
twisti [Mon, 13 Dec 2004 08:28:10 +0000 (08:28 +0000)]
Don't export loadingtime and compilingtime (error with gcc-4.0).

19 years agoInclude paths fixed.
twisti [Mon, 13 Dec 2004 08:27:03 +0000 (08:27 +0000)]
Include paths fixed.

19 years agoinlining of parameters fixed
carolyn [Fri, 10 Dec 2004 23:21:03 +0000 (23:21 +0000)]
inlining of parameters fixed

19 years agoAdded forgotten ansidecl.h.
twisti [Fri, 10 Dec 2004 13:53:36 +0000 (13:53 +0000)]
Added forgotten ansidecl.h.

19 years ago- back to -O0 till next release
twisti [Fri, 10 Dec 2004 13:11:17 +0000 (13:11 +0000)]
- back to -O0 till next release
- added tests/native/Makefile

19 years agoMore generic version, more tests.
twisti [Fri, 10 Dec 2004 13:10:29 +0000 (13:10 +0000)]
More generic version, more tests.

19 years agoAdded src/ to paths.
twisti [Thu, 9 Dec 2004 14:20:12 +0000 (14:20 +0000)]
Added src/ to paths.

19 years ago- fixed -verbosecall crash (too small stub size)
twisti [Thu, 9 Dec 2004 14:07:22 +0000 (14:07 +0000)]
- fixed -verbosecall crash (too small stub size)
- warning fixes
- code cleanup + indent