cacao.git
20 years agoexception back traces for i386
jowenn [Mon, 15 Mar 2004 07:37:49 +0000 (07:37 +0000)]
exception back traces for i386

20 years ago- fixed -verbosecall
twisti [Mon, 15 Mar 2004 00:37:59 +0000 (00:37 +0000)]
- fixed -verbosecall
- replaced proto_ exceptions with dynamic ones

20 years ago- added gnu header and emacs tailer
twisti [Mon, 15 Mar 2004 00:35:39 +0000 (00:35 +0000)]
- added gnu header and emacs tailer
- added asm_check_clinit
- make asm_calljavafunction2 work with current stuff, but not ready yet!

20 years agoAdded some functions from native used in loader.
twisti [Sun, 14 Mar 2004 23:41:11 +0000 (23:41 +0000)]
Added some functions from native used in loader.

20 years ago- show message in ExceptionInInitializerError
twisti [Sun, 14 Mar 2004 23:39:31 +0000 (23:39 +0000)]
- show message in ExceptionInInitializerError
- make code more readable

20 years agoPOWERPC defines for time outputs.
twisti [Sun, 14 Mar 2004 21:02:49 +0000 (21:02 +0000)]
POWERPC defines for time outputs.

20 years agoPOWERPC defines in builtin_trace_args and builtin_displaymethodstop.
twisti [Sun, 14 Mar 2004 21:01:12 +0000 (21:01 +0000)]
POWERPC defines in builtin_trace_args and builtin_displaymethodstop.

20 years agotestcase including fillInStackTrace and rethrow examples
jowenn [Sun, 14 Mar 2004 14:22:24 +0000 (14:22 +0000)]
testcase including fillInStackTrace and rethrow examples

20 years agothe line number <-> mpc table is now stored into the data segment (i386)
jowenn [Sat, 13 Mar 2004 12:51:30 +0000 (12:51 +0000)]
the line number <-> mpc table is now stored into the data segment (i386)

20 years agoconfigure script from the gc6.2 package - thread support working now
stefan [Fri, 12 Mar 2004 10:47:33 +0000 (10:47 +0000)]
configure script from the gc6.2 package - thread support working now

20 years agoGC_LINUX_THREADS only for linux
stefan [Thu, 11 Mar 2004 23:02:26 +0000 (23:02 +0000)]
GC_LINUX_THREADS only for linux

20 years agoGC_LINUX_THREADS
stefan [Thu, 11 Mar 2004 21:52:35 +0000 (21:52 +0000)]
GC_LINUX_THREADS

20 years agocacao is now again able to run kjc on i386
jowenn [Thu, 11 Mar 2004 17:30:03 +0000 (17:30 +0000)]
cacao is now again able to run kjc on i386

20 years ago- replaced proto_ exceptions with dynamic ones
twisti [Sun, 7 Mar 2004 23:52:44 +0000 (23:52 +0000)]
- replaced proto_ exceptions with dynamic ones

20 years agonative_new_and_init_int was not defined
twisti [Sun, 7 Mar 2004 22:16:31 +0000 (22:16 +0000)]
native_new_and_init_int was not defined

20 years ago- replace proto_ exceptions with dynamic ones
twisti [Sun, 7 Mar 2004 22:12:28 +0000 (22:12 +0000)]
- replace proto_ exceptions with dynamic ones

20 years ago- replaced proto_ exception with dynamic ones
twisti [Sun, 7 Mar 2004 22:02:29 +0000 (22:02 +0000)]
- replaced proto_ exception with dynamic ones
- removed softnull define
- XXX extest does not work with extest!

20 years agoCheck dynamic inline exceptions (generated after actual code).
twisti [Sun, 7 Mar 2004 17:14:46 +0000 (17:14 +0000)]
Check dynamic inline exceptions (generated after actual code).

20 years agoOk, once again: variable declarations at block beginnings! Not everyone has
twisti [Sat, 6 Mar 2004 21:33:21 +0000 (21:33 +0000)]
Ok, once again: variable declarations at block beginnings! Not everyone has
a gcc-3.x, not even a gcc.

20 years agoVariables must be declared at block beginnings, damn!
twisti [Sat, 6 Mar 2004 20:50:31 +0000 (20:50 +0000)]
Variables must be declared at block beginnings, damn!

20 years ago- built with autoconf-2.59 and automake-1.8.2
twisti [Sat, 6 Mar 2004 20:20:38 +0000 (20:20 +0000)]
- built with autoconf-2.59 and automake-1.8.2
- gnuclasspath is configured with AC_CONFIG_SUBDIRS

20 years agomissing extern and ;
jowenn [Sat, 6 Mar 2004 17:32:16 +0000 (17:32 +0000)]
missing extern and ;

20 years agoretrieve line number information
jowenn [Sat, 6 Mar 2004 17:27:56 +0000 (17:27 +0000)]
retrieve line number information

20 years agoMake Method.getExceptionTypes work
jowenn [Sat, 6 Mar 2004 14:04:15 +0000 (14:04 +0000)]
Make Method.getExceptionTypes work

20 years ago- removed inc, dec macros -- they only write partially the flag register
twisti [Sat, 6 Mar 2004 13:57:41 +0000 (13:57 +0000)]
- removed inc, dec macros -- they only write partially the flag register
  and this is slower on new processors
- replaced proto_ exception with dynamic ones, stuff as StringBuffer(-1)
  should work now

20 years agoAdded reg to branchref structure for ArrayIndexOutOfBounds exceptions
twisti [Sat, 6 Mar 2004 00:56:43 +0000 (00:56 +0000)]
Added reg to branchref structure for ArrayIndexOutOfBounds exceptions

20 years agoPass register number of index register to codegen_addxboundrefs
twisti [Sat, 6 Mar 2004 00:45:23 +0000 (00:45 +0000)]
Pass register number of index register to codegen_addxboundrefs

20 years agoDisplay exceptions classname correctly.
twisti [Fri, 5 Mar 2004 23:49:31 +0000 (23:49 +0000)]
Display exceptions classname correctly.

20 years ago- utf_display_classname which converts / into . for classnames
twisti [Fri, 5 Mar 2004 23:49:12 +0000 (23:49 +0000)]
- utf_display_classname which converts / into . for classnames
- made code more readable

20 years ago- new_exception functions for dynamic exceptions
twisti [Fri, 5 Mar 2004 23:20:53 +0000 (23:20 +0000)]
- new_exception functions for dynamic exceptions
- some strings defined for code generation

20 years agobetter handling of for name
jowenn [Fri, 5 Mar 2004 21:27:21 +0000 (21:27 +0000)]
better handling of for name

20 years agoTestcase for SecurityManager.getClassContext() and Class.forName()
twisti [Fri, 5 Mar 2004 17:58:27 +0000 (17:58 +0000)]
Testcase for SecurityManager.getClassContext() and Class.forName()

20 years agouse the old code on alpha for now
jowenn [Fri, 5 Mar 2004 17:04:35 +0000 (17:04 +0000)]
use the old code on alpha for now

20 years agonative functions, getClassContext, currentClassLoader implementation (with stack...
jowenn [Tue, 2 Mar 2004 21:18:23 +0000 (21:18 +0000)]
native functions, getClassContext, currentClassLoader implementation (with stack unwinding across native functions, as far as I know that is needed), test cases, usage of the gnu systemclassloader, storage of classloader in classinfo structure, ...
At the moment the stack unwinding is only implemented for i386, alpha will follow during the next days, so currently only i386 will compile and work. I'll do a cleanup of debug code and #if 0 blocks, once I have the alpha platform code in cvs too

20 years ago- don't use asm_builtin trace functions anymore
twisti [Thu, 26 Feb 2004 00:20:02 +0000 (00:20 +0000)]
- don't use asm_builtin trace functions anymore
- use check_clinit for PUT/GETSTATIC

20 years agoDefine functions prototypes
twisti [Thu, 26 Feb 2004 00:18:36 +0000 (00:18 +0000)]
Define functions prototypes

20 years agoChanged names of asm_calljava* functions
twisti [Thu, 26 Feb 2004 00:17:51 +0000 (00:17 +0000)]
Changed names of asm_calljava* functions

20 years ago- removed builtin trace functions
twisti [Thu, 26 Feb 2004 00:16:50 +0000 (00:16 +0000)]
- removed builtin trace functions
- implemented check_clinit

20 years agoRemoved GC_DEBUG for x86_64
twisti [Thu, 26 Feb 2004 00:09:51 +0000 (00:09 +0000)]
Removed GC_DEBUG for x86_64

20 years ago- restructured
twisti [Thu, 26 Feb 2004 00:00:38 +0000 (00:00 +0000)]
- restructured
- exception handling

20 years agofix bug when jit_compile is entered recursively
edwin [Tue, 24 Feb 2004 13:28:08 +0000 (13:28 +0000)]
fix bug when jit_compile is entered recursively

20 years agoavoid 'label at end of compound statement' warning
edwin [Tue, 24 Feb 2004 13:26:24 +0000 (13:26 +0000)]
avoid 'label at end of compound statement' warning

20 years agofix for Object[] oa = (Object[])java.lang.reflect.Array.newInstance(Runnable.class...
jowenn [Mon, 16 Feb 2004 04:00:59 +0000 (04:00 +0000)]
fix for Object[] oa = (Object[])java.lang.reflect.Array.newInstance(Runnable.class, 1);

20 years agotestcase for twisti's Array.NewInstance problem
jowenn [Mon, 16 Feb 2004 03:59:26 +0000 (03:59 +0000)]
testcase for twisti's Array.NewInstance problem

20 years agochanged savedstack implementation
edwin [Sun, 8 Feb 2004 20:24:57 +0000 (20:24 +0000)]
changed savedstack implementation

20 years agofixed exception typechecking
edwin [Sun, 8 Feb 2004 19:54:52 +0000 (19:54 +0000)]
fixed exception typechecking

20 years agorestore input stack types changed by <init> call
edwin [Sun, 8 Feb 2004 18:13:05 +0000 (18:13 +0000)]
restore input stack types changed by <init> call

20 years agodon't override private methods
edwin [Sun, 8 Feb 2004 15:17:10 +0000 (15:17 +0000)]
don't override private methods

20 years agosilently remove ACC_SUPER on interfaces
edwin [Thu, 5 Feb 2004 23:13:19 +0000 (23:13 +0000)]
silently remove ACC_SUPER on interfaces

20 years agoAdded java.security.ProtectionDomain, java.lang.VMString to header
twisti [Thu, 5 Feb 2004 21:44:29 +0000 (21:44 +0000)]
Added java.security.ProtectionDomain, java.lang.VMString to header
generation.

20 years agoWe have to add the string to cacao's constant pool when String.intern() is
twisti [Thu, 5 Feb 2004 21:23:19 +0000 (21:23 +0000)]
We have to add the string to cacao's constant pool when String.intern() is
called.

20 years agoPass string offset to literalstring_u2, fixed to store them properly. Still
twisti [Thu, 5 Feb 2004 21:20:33 +0000 (21:20 +0000)]
Pass string offset to literalstring_u2, fixed to store them properly. Still
one thing left with copymode == false.

20 years agoRT update for loader changes
carolyn [Wed, 4 Feb 2004 11:42:41 +0000 (11:42 +0000)]
RT update for loader changes

20 years agoSafety first.
twisti [Mon, 2 Feb 2004 23:09:49 +0000 (23:09 +0000)]
Safety first.

20 years ago- initialize class only if the called function is static
twisti [Mon, 2 Feb 2004 00:52:42 +0000 (00:52 +0000)]
- initialize class only if the called function is static
- small variable size fix

20 years agoPrint initialize class log message only if it's really done.
twisti [Mon, 2 Feb 2004 00:51:04 +0000 (00:51 +0000)]
Print initialize class log message only if it's really done.

20 years agoStatic analysis changes to parse starting with Object.<clinit>
carolyn [Thu, 29 Jan 2004 13:20:05 +0000 (13:20 +0000)]
Static analysis changes to parse starting with Object.<clinit>

20 years ago*** empty log message ***
carolyn [Thu, 29 Jan 2004 13:19:02 +0000 (13:19 +0000)]
*** empty log message ***

20 years agoSecond try.
twisti [Wed, 28 Jan 2004 10:51:58 +0000 (10:51 +0000)]
Second try.

20 years agoFirst version of x86 section.
twisti [Tue, 27 Jan 2004 15:14:06 +0000 (15:14 +0000)]
First version of x86 section.

20 years agoCommented out MFREE due to stack overflow with current CACAO
carolyn [Thu, 22 Jan 2004 23:00:32 +0000 (23:00 +0000)]
Commented out MFREE due to stack overflow with current CACAO

20 years ago- show float arguments as hex values in runverbose mode
twisti [Thu, 22 Jan 2004 21:38:58 +0000 (21:38 +0000)]
- show float arguments as hex values in runverbose mode
- patch PUT/GETSTATIC calling code with a jump

20 years agoPatch the code for PUT/GETSTATIC instructions to jump over the calling
twisti [Thu, 22 Jan 2004 19:06:00 +0000 (19:06 +0000)]
Patch the code for PUT/GETSTATIC instructions to jump over the calling
code.

20 years agoDon't print log test in nativeInit.
twisti [Thu, 22 Jan 2004 13:25:36 +0000 (13:25 +0000)]
Don't print log test in nativeInit.

20 years ago- fixed F2D (in corner case situations like MIN_VALUE we had problems)
twisti [Thu, 22 Jan 2004 13:24:36 +0000 (13:24 +0000)]
- fixed F2D (in corner case situations like MIN_VALUE we had problems)
- show float arguments as integer hex values in runverbose mode (removed
  asm_* trace functions)
- size of native stub depends on runverbose switch

20 years agocacaoh needs and depends on
twisti [Wed, 21 Jan 2004 19:36:48 +0000 (19:36 +0000)]
cacaoh needs and depends on
gnuclasspathnat/native/jni/java-lang/.libs/libjavalang.a

20 years agoMore NATIVE_THREADS ifdefs
stefan [Wed, 21 Jan 2004 00:49:42 +0000 (00:49 +0000)]
More NATIVE_THREADS ifdefs

20 years agoFix linking order
stefan [Tue, 20 Jan 2004 23:19:14 +0000 (23:19 +0000)]
Fix linking order

20 years agoadded -liberalutf option
edwin [Mon, 19 Jan 2004 13:53:43 +0000 (13:53 +0000)]
added -liberalutf option

20 years agooptimizations and cleanup
edwin [Mon, 19 Jan 2004 12:59:47 +0000 (12:59 +0000)]
optimizations and cleanup

20 years agominor optimizations and cleanup
edwin [Mon, 19 Jan 2004 12:53:24 +0000 (12:53 +0000)]
minor optimizations and cleanup

20 years agocleanup
edwin [Mon, 19 Jan 2004 12:32:29 +0000 (12:32 +0000)]
cleanup

20 years agominor documentation corrections
edwin [Mon, 19 Jan 2004 12:29:13 +0000 (12:29 +0000)]
minor documentation corrections

20 years agocleanup
edwin [Mon, 19 Jan 2004 12:24:13 +0000 (12:24 +0000)]
cleanup

20 years agocleanup, added typecheck statistics
edwin [Mon, 19 Jan 2004 12:18:14 +0000 (12:18 +0000)]
cleanup, added typecheck statistics

20 years agocleanup and documentation, deactivate debug macros
edwin [Mon, 19 Jan 2004 12:16:11 +0000 (12:16 +0000)]
cleanup and documentation, deactivate debug macros

20 years agocleanup and documentation
edwin [Mon, 19 Jan 2004 12:14:39 +0000 (12:14 +0000)]
cleanup and documentation

20 years agoverifier documentation
edwin [Fri, 16 Jan 2004 13:07:12 +0000 (13:07 +0000)]
verifier documentation

20 years agofix relative pathes
jowenn [Fri, 16 Jan 2004 07:25:13 +0000 (07:25 +0000)]
fix relative pathes

20 years agoadapted for new directory structure
jowenn [Thu, 15 Jan 2004 21:39:01 +0000 (21:39 +0000)]
adapted for new directory structure

20 years agoAdded critical regions for native threads
stefan [Wed, 14 Jan 2004 12:42:52 +0000 (12:42 +0000)]
Added critical regions for native threads

20 years agoAdded AVL
stefan [Wed, 14 Jan 2004 12:37:05 +0000 (12:37 +0000)]
Added AVL

20 years agoadded class/field/method name checking
edwin [Tue, 13 Jan 2004 19:57:08 +0000 (19:57 +0000)]
added class/field/method name checking

20 years agoAdded check for field/method uniqueness
edwin [Tue, 13 Jan 2004 17:17:12 +0000 (17:17 +0000)]
Added check for field/method uniqueness

20 years agoRemoved HAVE_ stuff, just define float versions. I have to check if this
twisti [Mon, 12 Jan 2004 13:31:56 +0000 (13:31 +0000)]
Removed HAVE_ stuff, just define float versions. I have to check if this
is _really_ correct.

20 years agoIf class is not initialized in put/getstatic we generate a call, thus
twisti [Mon, 12 Jan 2004 12:03:11 +0000 (12:03 +0000)]
If class is not initialized in put/getstatic we generate a call, thus
isleafmethod = false;

20 years agoremoval for extern and ZEXPORT. This allows compiliation of the zip part on OSF1.
jowenn [Mon, 12 Jan 2004 11:59:55 +0000 (11:59 +0000)]
removal for extern and ZEXPORT. This allows compiliation of the zip part on OSF1.

20 years agoThese new output files reflect the usage of gnu's classpath (float printing
twisti [Sun, 11 Jan 2004 21:18:30 +0000 (21:18 +0000)]
These new output files reflect the usage of gnu's classpath (float printing
is slightly different).

20 years agoAdded exceptions test.
twisti [Sun, 11 Jan 2004 21:16:59 +0000 (21:16 +0000)]
Added exceptions test.

20 years agoOutput of exception tests.
twisti [Sun, 11 Jan 2004 21:16:35 +0000 (21:16 +0000)]
Output of exception tests.

20 years ago- added gnu header
twisti [Sun, 11 Jan 2004 20:59:29 +0000 (20:59 +0000)]
- added gnu header
- removed struct's but included header files
- removed annoying log

20 years ago*** empty log message ***
stefan [Sun, 11 Jan 2004 19:04:13 +0000 (19:04 +0000)]
*** empty log message ***

20 years agomoved packagename field to end of classinfo
edwin [Sun, 11 Jan 2004 00:55:25 +0000 (00:55 +0000)]
moved packagename field to end of classinfo

20 years agoadded package access checking
edwin [Sat, 10 Jan 2004 22:49:32 +0000 (22:49 +0000)]
added package access checking

20 years agotypecheck cleanup
edwin [Sat, 10 Jan 2004 21:30:06 +0000 (21:30 +0000)]
typecheck cleanup

20 years agoimplemented subroutine verification (Coglio's method) + several verifier fixes
edwin [Sat, 10 Jan 2004 20:12:10 +0000 (20:12 +0000)]
implemented subroutine verification (Coglio's method) + several verifier fixes

20 years agouse global utf strings
edwin [Wed, 7 Jan 2004 22:05:04 +0000 (22:05 +0000)]
use global utf strings

20 years agoadded verification checks
edwin [Wed, 7 Jan 2004 20:05:30 +0000 (20:05 +0000)]
added verification checks

20 years agoinclude main.h
edwin [Wed, 7 Jan 2004 19:09:47 +0000 (19:09 +0000)]
include main.h

20 years agoadded various verification checks
edwin [Wed, 7 Jan 2004 18:51:16 +0000 (18:51 +0000)]
added various verification checks