* ChangeLog: Updated for release 0.95.
[cacao.git] / ChangeLog
1 2006-02-14 10:14  twisti
2
3         * configure.ac: Updated version to 0.95, set optimization level to
4         -O2, some indent changes.
5         * ChangeLog-2005: Removed 2006 entries.
6
7 2006-02-14 01:10  twisti
8
9         * src/vm/jit/profile/profile.c (profile_thread): Fixed compiler
10         warning.
11
12 2006-02-14 01:05  twisti
13
14         * src/vm/jit/intrp/codegen.c (createcompilerstub): Store the
15         methodinfo pointer in the same place as in the methodheader for
16         compiled methods.
17
18 2006-02-14 00:41  twisti
19
20         * src/vm/jit/x86_64/codegen.c (createcompilerstub): Store the
21         methodinfo pointer in the same place as in the methodheader for
22         compiled methods.
23
24 2006-02-14 00:33  twisti
25
26         * contrib/svn2cl.xsl: New file.
27         * THIRDPARTY (contrib/svn2cl.xsl): Added copyright message.
28
29 2006-02-14 00:05  twisti
30
31         * NEWS: Updated 0.95 release notes.
32
33 2006-02-14 00:03  twisti
34
35         * src/vm/loader.c (load_field): Removed f->xta.
36         
37         * src/vm/class.h (vm/method.h): Added.
38         (vm/jit/inline/sets.h): Removed.
39         
40         * src/vm/method.h (vm/jit/inline/parseXTA.h): Removed.
41         
42         * src/vm/field.h (vm/jit/inline/parseXTA.h): Likewise.
43         (fieldinfo): Removed member xta.
44         
45         * src/lib/Makefile.am (EXTRA_DIST): Fixed typo.
46
47 2006-02-14 00:01  twisti
48
49         * src/vm/jit/inline/sets.c, src/vm/jit/inline/parseRTstats.c,
50         src/vm/jit/inline/parseRT.c, src/vm/jit/inline/parseRTflags.h,
51         src/vm/jit/inline/parseRTprint.h, src/vm/jit/inline/sets.h,
52         src/vm/jit/inline/parseRTstats.h, src/vm/jit/inline/parseRT.h,
53         src/vm/jit/inline/parseXTA.c, src/vm/jit/inline/parseXTA.h: Removed.
54
55 2006-02-13 23:45  twisti
56
57         * src/vm/class.c (class_findmethod_approx): Removed.
58         * src/vm/class.h (class_findmethod_approx): Likewise.
59         (class_resolvemethod_approx): Likewise.
60
61 2006-02-13 23:16  edwin
62
63         * NEWS: Added JNI method resolution fix.
64
65 2006-02-13 18:55  twisti
66
67         * src/vm/method.c (assert.h): Added.
68         (vm/linker.h): Likewise.
69         (vm/jit/methodheader.h): Likewise.
70         (method_vftbl_lookup): New method.
71         
72         * src/vm/method.h (vm/linker.h): Added.
73         (method_vftbl_lookup): New method.
74         
75         Fixes bug #17 and #18.
76         * src/native/jni.c: Complete rewrite of Call*Method code.
77
78 2006-02-13 10:53  twisti
79
80         * src/vm/utf8.c (utf_display): Some reformatting.
81         (utf_display_classname): Likewise.
82
83 2006-02-13 00:12  twisti
84
85         * src/vm/jit/mips/codegen.c (createcompilerstub): Store the methodinfo
86         pointer in the same place as in the methodheader for compiled methods.
87
88 2006-02-12 23:43  twisti
89
90         * src/vm/jit/alpha/md.c (md_assembler_get_patch_address): New method.
91         (md_codegen_findmethod): Use assert's directly.
92         
93         * src/vm/jit/mips/md.c (md_assembler_get_patch_address): Likewise.
94         (md_codegen_findmethod): Likewise.
95         
96         * src/vm/jit/alpha/codegen.c (createcompilerstub): Store the
97         methodinfo pointer in the same place as in the methodheader for
98         compiled methods and pass the pointer in REG_ITMP1.
99         
100         * src/vm/jit/alpha/md-asm.h (mptr): Defined.
101         
102         * src/vm/jit/powerpc/asmpart.S (asm_call_jit_compiler): methodinfo
103         pointer is passed via itmp1. Use md_assembler_get_patch_address to
104         get the patch address.
105         (asm_calljavafunction, asm_calljavafunction2): Pass methodinfo pointer
106         via itmp1.
107
108 2006-02-12 23:22  twisti
109
110         * src/vm/jit/powerpc/codegen.c (createcompilerstub): Store the
111         methodinfo pointer in the same place as in the methodheader for
112         compiled methods.
113         
114         * src/vm/jit/powerpc/asmpart.S (asm_call_jit_compiler): methodinfo
115         pointer is passed via itmp1.
116         (asm_calljavafunction, asm_calljavafunction2): Pass methodinfo pointer
117         via itmp1.
118
119 2006-02-12 22:08  edwin
120
121         * src/threads/native/threads.c (threads_dump): Removed unused
122         variable 'ee'.
123
124 2006-02-12 21:57  edwin
125
126         * src/native/vm/VMClass.c (Java_java_lang_VMClass_getDeclaredMethods):
127         Cast to java_lang_Class in order to avoid compiler warning.
128         
129         * src/native/vm/VMClass.c (Changes): Added my name.
130         
131         * src/native/vm/VMClass.c (vim biolerplate): Added.
132
133 2006-02-12 21:47  edwin
134
135         * src/threads/native/threads.c (allocLockRecordSimple): Fixed
136         declaration
137         after code error.
138
139 2006-02-12 16:28  twisti
140
141         * src/vm/jit/i386/codegen.c (createcompilerstub): Store the
142         methodinfo* in the same place as in the methodheader for compiled
143         methods.
144
145 2006-02-12 16:24  edwin
146
147         * NEWS: Added directory check bugfix.
148
149 2006-02-12 16:10  edwin
150
151         * NEWS: Added two bugfixes.
152
153 2006-02-12 16:02  edwin
154
155         * src/vm/loader.c, src/vm/loader.h (vim boilerplate): Added.
156
157 2006-02-12 13:11  twisti
158
159         * src/vm/zip.c (zip_open): Don't add directories to the zipfile
160         hashtable. We use the trailing `/' to identify a directory (i hope
161         that's correct).
162
163 2006-02-12 12:59  christian
164
165         * src/vm/jit/x86_64/md-abi.c (md_param_alloc): Regard use of A0 for
166         returning float values.
167
168 2006-02-12 02:18  edwin
169
170         * src/native/vm/VMClassLoader.c (vim boilerplate): Added.
171
172 2006-02-12 02:17  edwin
173
174         * src/vm/classcache.c (classcache_store): Made classcache_store
175         idempotent.
176         
177         * src/native/vm/VMClassLoader.c
178         (Java_java_lang_VMClassLoader_defineClass):
179         Store defined class with classcache_store instead of just with
180         classcache_store_defined, so it an initiating loader is recorded for
181         the
182         class. This should solve problems with classes that are defined
183         outside
184         of a loadClass context (e.g. by java.lang.reflect.Proxy).
185
186 2006-02-12 00:30  twisti
187
188         * src/native/vm/VMClass.c (getDeclaredMethods): Set the method's class
189         in java.lang.reflect.Method.
190         
191         * src/native/vm/Method.c (toolbox/logging.h, vm/jit/stacktrace.h):
192         Removed.
193         
194         * src/native/vm/VMSystem.c (identityHashCode): Use casts.
195
196 2006-02-12 00:25  twisti
197
198         * src/vm/exceptions.c, src/vm/exceptions.h
199         (exceptions_throw_nosuchmethoderror): New method.
200
201 2006-02-11 21:25  christian
202
203         * src/vm/jit/stack.h (COPY) All copied stackslots set to TEMPVAR.
204         This prevents conflicts with LOCALVAR
205         and
206         (DUP) Likewise.
207         STACKVARS.
208
209 2006-02-07 23:18  edwin
210
211         * src/vm/jit/stack.h (TYPE_VERIFYERROR): Converted most of body to a
212         function.
213         
214         * src/vm/exceptions.c, src/vm/exceptions.h
215         (exceptions_throw_verifyerror_for_stack): Added.
216         
217         * src/vm/exceptions.c, src/vm/exceptions.h (vim boilerplate): Added.
218
219 2006-02-07 21:27  edwin
220
221         * src/vm/jit/stack.h (vim boilerplate): Fixed.
222
223 2006-02-07 21:15  twisti
224
225         * NEWS: Added some stuff.
226
227 2006-02-07 17:28  edwin
228
229         * src/vm/jit/intrp/codegen.c (createcalljavafunction):
230         Removed t_inlining_globals.
231
232 2006-02-07 17:22  edwin
233
234         * src/vm/jit/codegen-common.c, src/vm/jit/codegen-common.h
235         (codegen_setup):
236         Removed t_inlining_globals argument.
237         
238         * src/vm/jit/codegen-common.c (codegen_finish): Prepared for inlined
239         line
240         number tables. References with line number <-3 will not be relocated.
241         
242         * src/vm/jit/codegen-common.c (codegen_createnativestub):
243         Removed t_inlining_globals and inlining_setup.
244         
245         * src/vm/jit/codegen-common.h (Changes): Added my name to 'Changes'.
246         
247         * src/vm/jit/inline/inline.c, src/vm/jit/inline/inline.h: Ripped out
248         old
249         inliner.
250         
251         * src/vm/jit/jit.c: Removed inlining headers.
252         
253         * src/vm/jit/jit.c (INLINE_GOTO): Added instruction name to table.
254         
255         * src/vm/jit/jit.c (jit_compile_intern): Removed t_inlining_globals
256         argument.
257         
258         * src/vm/jit/codegen-common.c, src/vm/jit/codegen-common.h,
259         src/vm/jit/inline/inline.c, src/vm/jit/inline/inline.h (vim
260         boilerplate):
261         Added.
262
263 2006-02-07 16:52  edwin
264
265         * src/vm/jit/i386/codegen.c (codegen): Prepared for inlining. The
266         icmds
267         ICMD_INLINE_START, ICMD_INLINE_END, ICMD_INLINE_GOTO were
268         implemented, and
269         at the start of exception handlers the indepth is no longer assumed
270         to be 1.
271
272 2006-02-07 16:47  edwin
273
274         * src/vm/jit/jit.h (Changes): Fixed tabs.
275
276 2006-02-06 21:06  twisti
277
278         * src/threads/native/threads.c, src/threads/native/threads.h
279         (sleepThread): Renamed to thread_sleep.
280
281 2006-02-06 21:01  twisti
282
283         * src/cacao/cacao.c (vm/jit/profile.h): Changed to
284         vm/jit/profile/profile.h.
285         (main): profile_init and profile_start_thread calls added.
286
287 2006-02-06 18:50  twisti
288
289         * configure.ac (AC_CONFIG_FILES): Added src/vm/jit/profile/Makefile.
290
291 2006-02-06 18:49  twisti
292
293         * src/vm/jit/Makefile.am (DIST_SUBDIRS): Added profile.
294         (PROFILE_LIB): Added.
295         (PROFILE_SOURCES): Removed.
296
297 2006-02-06 18:48  twisti
298
299         * src/vm/jit/profile/profile.c (profile_init): New method.
300         (profile_thread): Likewise.
301         (profile_start_thread): Likewise.
302         * src/vm/jit/profile/profile.h (profile_init): Added.
303         (profile_start_thread): Likewise.
304         * src/vm/jit/profile/Makefile.am: New file.
305         * src/vm/jit/profile/.cvsignore: Likewise.
306
307 2006-02-06 18:34  twisti
308
309         * src/vm/jit/profile.h: Moved to src/vm/jit/profile/.
310
311 2006-02-06 18:33  twisti
312
313         * src/vm/jit/profile.c: Moved to src/vm/jit/profile/.
314         * src/vm/jit/profile: Added.
315
316 2006-02-06 18:32  twisti
317
318         * src/vm/jit/profile: Ooops.
319
320 2006-02-06 18:31  twisti
321
322         * src/vm/jit/profile.c: Moved to src/vm/jit/profile/.
323
324 2006-02-06 18:14  twisti
325
326         * src/vm/jit/allocator/Makefile.am: Use tabs instead of space.
327         (INCLUDE): Renamed to AM_CPPFLAGS.
328
329 2006-02-06 08:22  edwin
330
331         * doc/Makefile.am (EXTRA_DIST): Added inlining_stacktrace.txt and
332         native_threads.txt.
333
334 2006-02-06 06:49  edwin
335
336         * src/threads/native/threads.c: Minor cleanup.
337
338 2006-02-06 06:46  edwin
339
340         * src/threads/native/threads.c: Uncuddled `else`s and other cleanup.
341
342 2006-02-06 06:16  edwin
343
344         * doc/inlining_stacktrace.txt: Clarified, added entry after the
345         inlined body
346         for the rest of the line after the call.
347
348 2006-02-06 05:00  edwin
349
350         * src/vm/jit/i386/machine-instr.h (compare_and_swap): Commented.
351
352 2006-02-06 04:50  edwin
353
354         * doc/native_threads.txt: Added.
355
356 2006-02-06 04:46  edwin
357
358         * src/threads/native/threads.c (allocLockRecordPool): Relink the free
359         list
360         of lock records when reusing a pool from the global_pool. This avoids
361         cross-linking of lock record owned by different threads, and hopefully
362         fixes our long-standing deadlock problem.
363         
364         * src/threads/native/threads.c (allocLockRecordSimple,
365         recycleLockRecord)
366         (initObjectLock): Temporarily added assertions to shake out possible
367         further bugs in the free list handling.
368         
369         * src/threads/native/threads.c (monitorEnter, monitorExit): Commented.
370         
371         * src/threads/native/threads.c (Changes): Added my name to 'Changes'.
372         
373         * src/threads/native/threads.c (vim boilerplate): Added.
374
375 2006-02-06 01:28  edwin
376
377         * src/vm/jit/stacktrace.c (stacktrace_add_method_intern): Added.
378         (stacktrace_add_method): Documented. Now uses
379         stacktrace_add_method_intern.
380         (stacktrace_getCurrentClassLoader): Documented.
381         (stacktrace_dump_trace): Removed unused variable.
382         (Changes): Added my name to 'Changes'.
383
384 2006-02-06 01:08  edwin
385
386         * src/vm/jit/verify/typecheck.c (verify_basic_block): Teach the
387         verifier
388         about the new inline instructions ICMD_INLINE_START, ICMD_INLINE_END,
389         and ICMD_INLINE_GOTO.
390
391 2006-02-06 01:02  edwin
392
393         * src/vm/jit/stack.c (analyse_stack): Set bptr->stack for each visited
394         block.
395         (show_icmd): Implemented printing of new inline instructions.
396
397 2006-02-06 00:02  edwin
398
399         * src/vm/jit/allocator/simplereg.c (ICMD_INLINE_GOTO): Added.
400         (Changes): Added my name to 'Changes'.
401         (vim boilerplate): Added.
402
403 2006-02-05 23:34  edwin
404
405         * src/vm/jit/allocator/lsra.c, src/vm/jit/allocator/lsra.h (lsra,
406         lsra_init):
407         Removed t_inlining_globals argument.
408         (Changes): Added my name to 'Changes'.
409         (vim boilerplate): Added.
410         
411         * src/vm/jit/jit.c (lsra): Removed t_inlining_globals argument.
412
413 2006-02-05 23:24  edwin
414
415         * src/vm/jit/jit.c (reg_setup): Removed t_inlining_globals argument.
416         
417         * src/vm/jit/codegen-common.c (reg_setup): Removed t_inlining_globals
418         argument.
419         
420         * src/vm/jit/reg.c, src/vm/jit/reg.h (reg_setup): Removed
421         t_inlining_globals
422         argument.
423         (Changes): Added my name to 'Changes'.
424         (vim boilerplate): Added.
425
426 2006-02-05 23:09  edwin
427
428         * src/vm/jit/jit.h (Changes): Added my name to 'Changes'.
429
430 2006-02-05 23:07  edwin
431
432         * src/vm/jit/jit.h (ICMD_INLINE_GOTO): Added. Not used, yet.
433         
434         * src/vm/jit/jit.h (basicblock): Added 'stack' field. Not used, yet.
435         
436         * src/vm/jit/jit.h, src/vm/jit/jit.c (vim boilerplate): Added.
437
438 2006-02-05 23:02  edwin
439
440         * src/vm/jit/parse.c (parseRT.h, parseXTA.h, inline.h,
441         parseRTprint.h):
442         No longer included.
443         (parse): Removed t_inlining_globals * from arguments.
444         
445         * src/vm/jit/jit.c (parse): Removed t_inlining_globals * from
446         arguments.
447
448 2006-02-05 22:47  edwin
449
450         * src/vm/jit/parse.c, src/vm/jit/parse.h (inline_env): Removed most
451         occurences.
452         (bound_check1): Renamed to bound_check_exclusive.
453
454 2006-02-05 22:22  edwin
455
456         * src/vm/jit/parse.c (useinlining): Removed.
457
458 2006-02-05 17:36  edwin
459
460         * doc/inlining_stacktrace.txt: Added warning about signedness.
461         Fixed copy&paste errors.
462
463 2006-02-05 15:26  edwin
464
465         * doc/inlining_stacktrace.txt: Added.
466         
467         * src/vm/jit/dseg.c (dseg_addlinenumber_inline_start): Added.
468         (dseg_addlinenumber_inline_end): Added.
469         (dseg_addlinenumber): Commented.
470         (vim boilerplate): Added.
471         
472         * src/vm/jit/dseg.h (linenumberref): Changed for inlining stacktraces.
473         Made targetmpc a ptrint, made linenumber s4, reordered fields.
474         (dseg_addlinenumber_inline_start): Added.
475         (dseg_addlinenumber_inline_end): Added.
476         (vim boilerplate): Added.
477
478 2006-02-05 13:52  stefan
479
480         * src/threads/native/threads.h: waiting is correctly typed now
481         (previous checkin was wrong).
482
483 2006-02-05 13:39  stefan
484
485         * src/threads/native/threads.c: Let's see if this improves the dead
486         lock situation (waiter handling changed slightly).
487
488 2006-02-05 12:22  twisti
489
490         * tests/regression/native/.cvsignore (*.h, *.so): Added.
491
492 2006-02-05 12:20  twisti
493
494         * tests/regression/native/Makefile.am,
495         tests/regression/codepatching/Makefile.am,
496         tests/regression/Makefile.am (JAVAFLAGS): Use VM_ZIP_STRING and
497         GLIBJ_ZIP_STRING.
498
499 2006-02-05 12:03  twisti
500
501         * src/vm/jit/powerpc/asmpart.S, src/vm/jit/alpha/asmpart.S,
502         src/vm/jit/mips/asmpart.S, src/vm/jit/i386/asmpart.S,
503         src/vm/jit/x86_64/asmpart.S, src/vm/jit/arm/asmpart.S: Disable
504         executable stacks, this is required for Gentoo and we actually don't
505         need them.
506
507 2006-02-05 00:40  twisti
508
509         * src/vm/jit/stacktrace.c (stacktrace_create): Get the value of
510         _no_threads_stackframeinfo, since it's a pointer, not a structure.
511         (stacktrace_print_trace): Check for NULL value and return.
512         * src/vm/exceptions.c (exceptions_handle_exception): Compiler warning
513         fixed.
514         (exceptions_print_exception): Check for NULL value, print it and
515         return.
516
517 2006-02-05 00:16  twisti
518
519         * src/mm/memory.h (string.h): Moved after config.h.
520         (OFFSET): Use internal datatypes.
521         (NEW, MNEW): Use the proper GC macro when Gc is disabled.
522
523 2006-02-05 00:13  twisti
524
525         * src/mm/nogc.c (config.h): Moved in front of system headers.
526         (heap_allocate): Call exceptions_throw_outofmemory_exit.
527         (nogc_init): Likewise.
528
529 2006-02-05 00:01  twisti
530
531         * src/threads/none/: New.
532         * src/threads/none/threads.h: New file. We need this one for
533         e.g. stacktrace.c where we use thread stuff in the code.
534
535 2006-02-04 23:59  twisti
536
537         * src/vm/access.c (assert.h): Move after config.h.
538         * src/vm/properties.c (mm/memory.h): Added.
539         * src/vm/jit/stacktrace.c (mm/memory.h): Likewise.
540         (threads.h): Added.
541         (stacktrace_create): Handle stackframeinfo when threads disabled
542         properly.
543
544 2006-02-04 23:56  twisti
545
546         * src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
547         Generate an exception instead of exiting.
548         * src/vm/jit/allocator/lsra.c (lsra_scan_registers_canditates):
549         Likewise.
550
551 2006-02-04 20:15  twisti
552
553         * src/vm/jit/stacktrace.h (stacktrace_getCallingClassLoader): Renamed
554         to stacktrace_getCurrentClassLoader.
555         
556         * src/cacaoh/headers.c (nativelyoverloaded): Fixed compiler warning.
557
558 2006-02-04 19:09  twisti
559
560         * src/native/native.c (native_resolve_function): Print failed is the
561         symbol was not found.
562
563 2006-02-04 19:08  twisti
564
565         * src/vm/jit/stacktrace.h (STACKTRACE_CAPACITY_DEFAULT)
566         (STACKTRACE_CAPACITY_INCREMENT): Changed default from 40 to 80, seems
567         this is what eclipse and tomcat want.
568         (stacktracebuffer): Changed entries from an array to a pointer.
569
570 2006-02-04 19:04  twisti
571
572         * src/vm/jit/stacktrace.c (stacktrace_add_entry): Reallocate to
573         stb->entries.
574         (stacktrace_create): Do two dump and heap allocs, does not affect
575         performance.
576         (stacktrace_getCallingClassLoader): Renamed to
577         stacktrace_getCurrentClassLoader.
578         
579         * src/native/jni.c (FindClass): Renamed
580         stacktrace_getCallingClassLoader to stacktrace_getCurrentClassLoader.
581         
582         * src/native/vm/VMStackWalker.c (getCallingClassLoader): Revert to old
583         implementation.
584
585 2006-02-04 17:39  edwin
586
587         * doc/stack.txt: Typos fixed.
588
589 2006-02-04 17:31  edwin
590
591         * doc/stack.txt: Expanded tabs.
592         * doc/Makefile.am (stack.txt): Added EXTRA_DIST entry for stack.txt.
593
594 2006-02-04 17:25  edwin
595
596         * doc/stack.txt: Added. This file describes some details about the
597         stack representation.
598
599 2006-02-04 00:43  twisti
600
601         * src/native/Makefile.am (CLEANFILES): Always clean nativetable.inc.
602         ($(srcdir)/native.c): Moved inside if ENABLE_STATICVM where it
603         belongs! Dammit!
604
605 2006-02-04 00:33  twisti
606
607         * src/native/Makefile.am: Accidentally moved the library into if
608         ENABLE_STATICVM.
609         * src/native/include/Makefile.am: Enable accidentally removed
610         dependencies.
611
612 2006-02-04 00:13  edwin
613
614         * src/vm/jit/verify/typecheck.c (logging): Adapted to new logging API.
615
616 2006-02-04 00:08  edwin
617
618         * src/vm/jit/stack.h (MARKREACHED): Use BBREACHED for readability.
619         (vim boilerplate): Added.
620
621 2006-02-04 00:04  edwin
622
623         * src/vm/method.h (methodinfo): Fixed copy&paste error in comment.
624         (vim boilerplate): Added.
625
626 2006-02-04 00:00  edwin
627
628         * src/vm/jit/stacktrace.c (vim boilerplate): Added.
629
630 2006-02-03 22:57  twisti
631
632         * configure.ac (VM_ZIP_STRING): Added.
633         (GLIBJZ): Renamed to GLIBJ_ZIP_STRING.
634         * src/vm/global.h (CACAO_VM_ZIP_PATH): Use GLIBJ_ZIP_STRING.
635         * src/lib/Makefile.am (GLIBJ_ZIP): Likewise.
636         * src/native/include/Makefile.am, src/native/Makefile.am (VM_ZIP): Use
637         VM_ZIP_STRING.
638         (GLIBJ_ZIP): Use GLIBJ_ZIP_STRING.
639         * contrib/setenvinstalled.in, contrib/setenvsource.in: Likewise.
640
641 2006-02-03 22:53  twisti
642
643         * src/native/vm/VMRuntime.c (nativeLoad): #ifdef ENABLE_STATICVM
644         warning fix.
645
646 2006-02-03 22:24  twisti
647
648         * src/vm/global.h (CACAO_VM_ZIP_PATH): Removed accidentally commited
649         VM_ZIP_FILE.
650         * src/native/Makefile.am (VM_ZIP): Likewise.
651         * src/native/include/Makefile.am (VM_ZIP): Likewise.
652
653 2006-02-03 22:03  twisti
654
655         * src/vm/global.h (CACAO_VM_ZIP_PATH): Set correctly for ifndef
656         ENABLE_ZLIB.
657         * src/lib/Makefile.am (JAVA_VM_FILES): Renamed to VM_JAVA_FILES.
658         (VM_CLASS_FILES): Added.
659         (pkgdata_DATA): Set to class files for ifndef ENABLE_ZLIB.
660         * src/native/include/Makefile.am (VM_ZIP): Set correctly for ifndef
661         ENABLE_ZLIB.
662         * src/native/Makefile.am (VM_ZIP): Likewise.
663
664 2006-02-03 21:58  twisti
665
666         * src/vm/suck.c (suck_add): Fixed compiler warning with #ifndef
667         ENABLE_ZLIB.
668
669 2006-02-03 21:51  twisti
670
671         * src/native/tools/.cvsignore (TAGS): Added.
672
673 2006-02-03 20:54  twisti
674
675         * src/native/Makefile.am (VM_ZIP, GLIBJ_ZIP, CLASSPATH): Added.
676
677 2006-02-03 20:53  twisti
678
679         * src/native/tools/gennativetable.c (main): Don't free bootclasspath,
680         do proper initalization of subsystems, don't link classes.
681
682 2006-02-03 19:44  twisti
683
684         * src/native/Makefile.am (nativetable.inc): Pass classpath on
685         commandline, environment variable support was removed.
686
687 2006-02-03 19:42  twisti
688
689         * src/native/tools/gennativetable.c: Updated to work again.
690
691 2006-02-03 19:27  twisti
692
693         * src/cacao/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
694         (CLASSPATH_PREFIX): Renamed to CLASSPATH_LIBDIR.
695
696 2006-02-03 18:45  twisti
697
698         * configure.ac (ENABLE_SOFTFLOAT): Added.
699         (NDEBUG): Bugfix for AM_CONDITIONAL.
700
701 2006-02-03 14:14  twisti
702
703         * src/vm/jit/stacktrace.c (stacktrace_entry): Wrong return value,
704         added some checks.
705
706 2006-02-03 13:19  twisti
707
708         * src/vm/jit/stacktrace.c, src/vm/jit/stacktrace.h
709         (lineNumberTableEntry): Renamed to linenumbertable_entry.
710         (addEntry): Renamed to stacktrace_add_entry.
711         (stacktrace_fillInStackTrace_methodRecursive): Removed.
712         (stacktrace_fillInStackTrace_method): Renamed to
713         stacktrace_add_method.
714         (cacao_stacktrace_fillInStackTrace): Renamed to stacktrace_create.
715         (stackTraceCollector): Removed.
716         (cacao_stacktrace_NormalTrace): Renamed to
717         stacktrace_fillInStackTrace.
718         (classContextCollector): Removed.
719         (cacao_createClassContextArray): Renamed to
720         stacktrace_getClassContext.
721         (stacktrace_classLoaderCollector): Removed.
722         (cacao_currentClassLoader): Renamed to
723         stacktrace_getCallingClassLoader.
724         (getStackCollector): Removed.
725         (cacao_getStackForVMAccessController): Renamed to stacktrace_getStack.
726         
727         * src/native/jni.c (jni_init): Use new GCNEW.
728         (FindClass): Renamed cacao_currentClassLoader to
729         stacktrace_getCallingClassLoader.
730         
731         * src/native/vm/VMAccessController.c (getStack): Renamed
732         cacao_getStackForVMAccessController to stacktrace_getStack.
733         
734         * src/native/vm/VMStackWalker.c (getClassContext): Renamed
735         cacao_createClassContextArray to stacktrace_getClassContext.
736         (getCallingClass): Likewise.
737         (getCallingClassLoader): Call stacktrace_getCallingClassLoader.
738         
739         * src/native/vm/Method.c (config.h): Added.
740         (invokeNative): Renamed cacao_createClassContextArray to
741         stacktrace_getClassContext.
742         
743         * src/native/vm/Field.c (config.h): Added.
744         (cacao_get_field_address): Renamed cacao_createClassContextArray to
745         stacktrace_getClassContext. Check for CLASS_INITIALIZED.
746         
747         * src/native/vm/VMThrowable.c
748         (native/include/gnu_classpath_Pointer.h): Added.
749         (fillInStackTrace): Call stacktrace_fillInStackTrace.
750         (getStackTrace): Adapted.
751         
752         * src/mm/memory.h (GCNEW): Use only 1 parameter, like NEW.
753         (GCMNEW): Added.
754
755 2006-02-03 12:46  twisti
756
757         * src/threads/native/threads.h (THREADOBJECT): Don't cast to
758         java_lang_VMThread*, we don't need that.
759
760 2006-02-03 12:38  twisti
761
762         * src/vm/method.c (method_printflags, method_print): Check for NULL.
763         * src/vm/field.c (field_printflags, field_print) Likewise.
764         (stdio.h): Added.
765         * src/vm/class.c (class_printflags, class_print): Likewise.
766
767 2006-02-02 09:16  twisti
768
769         * configure.ac (AC_PROG_JAR): Added.
770         * m4/ac_prog_jar.m4: New file.
771         * src/lib/Makefile.am (VM_ZIP): Added.
772         (vm.zip): Check if $(JAR) is zip or jar type.
773
774 2006-02-02 08:51  twisti
775
776         * src/vm/loader.c (loader_load_all_classes): Added missing #ifde
777         ENABLE_ZLIB.
778
779 2006-02-02 08:45  twisti
780
781         * configure.ac (NDEBUG): Added missing WITH_BINUTILS_DISASSEMBLER
782         conditional.
783         (zlib): Fixed handling.
784
785 2006-01-31 23:54  twisti
786
787         * src/vm/jit/i386/codegen.c (codegen): Added basic block frequency
788         count code.
789
790 2006-01-31 23:45  twisti
791
792         * src/vm/jit/profile.c ("mm/memory.h,vm/options.h): Added.
793         (list_method_entry): Likewise.
794         (profile_printstats): Sort methods into a list and print it sorted,
795         added basic block frequency output.
796
797 2006-01-31 23:43  twisti
798
799         * src/vm/method.h (methodinfo): Renamed executioncount to
800         frequency. Added bbfrequency and cycles.
801         
802         * src/vm/jit/x86_64/codegen.c (codegen): Added cycle profiling code.
803         
804         * src/vm/jit/x86_64/codegen.h (M_FMOV): Added.
805         (M_IADD_MEMBASE, M_IADC_MEMBASE, M_ISUB_MEMBASE, M_ISBB_MEMBASE):
806         Likewise.
807         (M_RDTSC, PROFILE_CYCLE_START, PROFILE_CYCLE_STOP): Likewise.
808         
809         * src/vm/jit/x86_64/emitfuncs.c (x86_64_inc_membase)
810         (x86_64_incl_membase): Fixed.
811         (emit_rdtsc): Added.
812         
813         * src/vm/jit/jit.c (jit_compile): Free m->bbfrequency memory.
814         (jit_compile_intern): Allocate m->bbfrequency memory.
815         
816         * src/vm/jit/jit.h: Reformatting.
817
818 2006-01-31 23:29  twisti
819
820         * src/vm/statistics.c, src/vm/jit/inline/inline.c: Removed inlining
821         statistics stuff.
822
823 2006-01-31 23:27  twisti
824
825         * src/vm/options.c, src/vm/options.h (opt_rt, opt_xta, opt_vta):
826         Removed.
827         (opt_prof_bb): Added.
828         * src/cacao/cacao.c: Likewise.
829         (OPT_PROF_OPTION): Added.
830
831 2006-01-31 22:31  twisti
832
833         * src/vm/jit/stack.c (show_icmd_block): Print the basic block type.
834
835 2006-01-31 22:27  twisti
836
837         * src/toolbox/list.c, src/toolbox/list.h (list_add_before): Added.
838
839 2006-01-31 15:41  twisti
840
841         * src/vm/jit/powerpc/codegen.c, src/vm/jit/alpha/codegen.c,
842         src/vm/jit/mips/codegen.c, src/vm/jit/i386/codegen.c (codegen): Use
843         CLASS_IS_OR_ALMOST_INITIALIZED macro, saves some code space.
844
845 2006-01-31 15:35  twisti
846
847         Fixes Debian bug #350729
848         * src/vm/jit/i386/asmpart.S (asm_md_init): Added, puts the FPU to
849         64-bit precision mode.
850         * src/vm/jit/i386/md.c (md_init): Call asm_md_init.
851         
852         * src/vm/jit/asmpart.h (asm_md_init): Added.
853         (has_no_x_instr_set): Removed.
854         * src/vm/options.c, src/vm/options.h (has_ext_instr_set): Removed.
855         * src/vm/jit/jit.c (jit_init): Removed has_no_x_instr_set call.
856         * src/vm/jit/alpha/asmpart.S (has_no_x_instr_set): Renamed to
857         asm_md_init.
858         * src/vm/jit/alpha/md.c (has_ext_instr_set): Added.
859         (md_init): Call asm_md_init.
860         * src/vm/jit/alpha/md.h (has_ext_instr_set): Added.
861
862 2006-01-31 15:18  edwin
863
864         * src/vm/classcache.c: Added a formal description of the classcache.
865
866 2006-01-31 14:24  twisti
867
868         * src/vm/signal.c (signal_handler_sigint): Typo, reported by Chris
869         Burdess on irc.
870
871 2006-01-30 16:25  twisti
872
873         * src/vm/jit/i386/codegen.c (codegen): Added profiling code.
874         (ICMD_IINC): Use macros.
875         * src/vm/jit/i386/codegen.h (ucontext.h): Removed.
876         (thread_restartcriticalsection): Likewise.
877         (M_IADD_IMM_MEMBASE): Added.
878
879 2006-01-30 15:44  twisti
880
881         * src/vm/options.h, src/vm/options.c (opt_prof): Added.
882         * src/cacao/cacao.c (OPT_PROF): Added.
883         (exit_handler): Added profile_printstats when opt_prof is enabled.
884         
885         * src/vm/class.h (classinfo): Members classUsed and impldBy removed.
886         * src/vm/loader.c (load_class_from_classbuffer): Likewise.
887         * src/vm/linker.c (link_primitivetype_table): Likewise.
888         (link_class_intern): Likewise.
889         * src/vm/jit/inline/inline.c: Likewise.
890         
891         * src/vm/method.h (methodinfo): Added member executioncount.
892         
893         * src/vm/jit/x86_64/codegen.c (codegen): Added profiling code. Some
894         code reordering, using more macros and save some code space.
895         * src/vm/jit/x86_64/codegen.h (M_ILD32, M_LLD32, M_IST_IMM, M_IST32)
896         (M_LST32, M_IST32_IMM, M_LST32_IMM32, M_IINC_MEMBASE, M_ITEST)
897         (M_CMP_IMM_MEMBASE, M_ICMP, M_ICMP_IMM, M_ICMP_IMM_MEMBASE, M_CMOVEQ)
898         (M_CMOVNE, M_CMOVLT, M_CMOVLE, M_CMOVGE, M_CMOVGT, M_CMOVB, M_CMOVA)
899         (M_CMOVP, M_CLR): Added.
900         
901         * src/vm/jit/x86_64/emitfuncs.c (x86_64_emit_ifcc): Use macros.
902         (x86_64_call_mem): Changed mem argument to ptrint type.
903         * src/vm/jit/x86_64/emitfuncs.h (x86_64_call_mem): Likewise.
904         
905         * src/vm/jit/profile.c, src/vm/jit/profile.h: New files.
906         * src/vm/jit/Makefile.am (DISASS_OBJ): Renamed to DISASS_SOURCES.
907         (PROFILE_SOURCES): Added.
908
909 2006-01-30 14:24  christian
910
911         * src/vm/jit/allocator/simplereg.c (interface_regalloc): Used
912         m->parseddesc->arg[int|flt|adr]reguse to enable use of unused
913         argumentregisters in leadmethods.
914         (local_regalloc): Likewise.
915         (reg_init_temp): Likewise.
916
917 2006-01-30 11:26  christian
918
919         * src/vm/jit/allocator/simplereg.c: Ensured proper alignment of all
920         doubles and longs if ALIGN_[DOUBLES|LONGS]_IN_MEMORY is defined.
921         (local_regalloc): Fixed error for HAS_ADREDD_REGISTER_FILE - else was
922         missing. Ensured use of unused argument register in leafmethod before
923         use of saved registers. Regarded PACK_REGS for
924         SUPPORT_COMBINE_INTEGER_REGISTER archs for unused integer argument
925         registers.
926         * src/vm/jit/i386/arch.h: Added defines for
927         ALIGN_[DOUBLES|LONGS]_IN_MEMORY.
928         * src/vm/jit/powerpc/arch.h: Likewise.
929
930 2006-01-29 17:27  twisti
931
932         * src/vm/jit/stack.c (show_icmd): Fixed ICMD_ELSE_ICONST output.
933
934 2006-01-28 14:42  twisti
935
936         * src/vm/jit/powerpc/linux/md-abi.c,
937         src/vm/jit/powerpc/darwin/md-abi.c (md_return_alloc): Use
938         m->parseddesc->paramcount instead of m->paramcount.
939         * src/vm/jit/schedule/schedule.c (schedule_init): Likewise.
940         
941         * src/vm/jit/powerpc/codegen.c, src/vm/jit/alpha/codegen.c,
942         src/vm/jit/mips/codegen.c, src/vm/jit/i386/codegen.c (codegen):
943         Removed first MCODECHECK since it not required.
944         
945         * src/vm/jit/methodheader.h: Added comment.
946
947 2006-01-28 14:25  twisti
948
949         * src/vm/jit/x86_64/.cvsignore: Added TAGS.
950
951 2006-01-28 14:21  twisti
952
953         * src/vm/loader.c (load_method): Removed reference to
954         nativelyoverloaded, monoPoly, subRedefs, subRedefsUsed, xta.
955         (load_newly_created_array): Removed reference to monoPoly.
956
957 2006-01-28 14:18  twisti
958
959         * src/vm/method.c (method_descriptor2types): Removed.
960         * src/vm/method.h (methodinfo): Removed members returntype,
961         returnclass, paramcount, paramtypes, paramclass, xta, methodXTAparsed,
962         methodUsed, monoPoly, subRedefs, subRedefsUsed, and
963         nativelyoverloaded, this saves about 3.2MB of classinfo memory for
964         -all.
965         (method_descriptor2types): Removed.
966         
967         * src/vm/jit/inline/inline.c (inlining_analyse_method): Use
968         m->parseddesc->paramcount instead of m->paramcount.
969         * src/vm/jit/allocator/simplereg.c (local_regalloc): Likewise.
970         * src/vm/jit/x86_64/md-abi.c (md_return_alloc): Likewise.
971         
972         * src/vm/jit/jit.c (jit_compile): Removed RT_jit_parse and
973         XTA_jit_parse calls.
974         (jit_compile_intern): Removed method_descriptor2types call.
975         
976         * src/cacaoh/cacaoh.c (main): Call string_init. Removed
977         nativemethod_chain and nativeclass_chain stuff.
978         
979         * src/cacaoh/headers.c (nativemethod_chain): Removed.
980         (nativeclass_chain): Likewise.
981         (printmethod): Use m->isleafmethod instead of m->nativelyoverloaded.
982         (headerfile_generate): Likewise.
983
984 2006-01-28 11:26  twisti
985
986         * src/vm/jit/inline/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
987         (libinline_la_SOURCES): Don't build RTA/XTA stuff.
988
989 2006-01-28 11:24  twisti
990
991         * Makefile.am (EXTRA_DIST): Added THIRDPARTY.
992
993 2006-01-27 19:05  stefan
994
995         * src/threads/native/threads.c: Removed a superfluous (I hope) NULL
996         check.
997
998 2006-01-27 18:53  stefan
999
1000         * src/threads/native/threads.c: Repaired thread_getself.
1001
1002 2006-01-27 17:35  twisti
1003
1004         * src/toolbox/logging.c, src/toolbox/logging.h (log_start): Added.
1005         (log_vprint): Likewise.
1006         (log_print): Likewise.
1007         (log_println): Likewise.
1008         (log_finish): Likewise.
1009         (log_plain): Removed.
1010         (log_nl): Removed.
1011         (log_flush): Likewise.
1012         (dolog_plain): Likewise.
1013         (get_logfile): Likewise.
1014         (log_utf): Likewise.
1015         (log_plain_utf): Likewise.
1016         (log_text): Removed but added a define until we have ported all files.
1017         (dolog): Likewise.
1018         * src/vm/statistics.c (print_stats): Started to use new logging
1019         functions. Print some ratios.
1020
1021 2006-01-27 16:32  twisti
1022
1023         * src/native/vm/VMSystemProperties.c (preInit): Don't add . to
1024         java.library.path per default.
1025
1026 2006-01-27 12:43  twisti
1027
1028         * NEWS: Added powerpc fixes found by javver.
1029
1030 2006-01-24 19:09  twisti
1031
1032         * src/vm/jit/powerpc/codegen.h (var_to_reg_dbl): Added.
1033         (M_COPY): Handle doubles properly.
1034
1035 2006-01-24 13:52  twisti
1036
1037         * src/vm/jit/powerpc/codegen.h (M_LNGMOVE): Added.
1038         (var_to_reg_lng): Likewise.
1039         (M_COPY): Support longs. This was actually never implemented and never
1040         worked, grrr.
1041
1042 2006-01-24 10:30  twisti
1043
1044         * src/vm/jit/stacktrace.c (cacao_stacktrace_fillInStackTrace): Use
1045         method_print. Fixed typo.
1046         * src/vm/jit/powerpc/md.c (md_codegen_findmethod): Handle 2
1047         instruction returns properly.
1048
1049 2006-01-24 10:28  twisti
1050
1051         * src/vm/builtin.c (builtin_f2i): Enable for interpreter.
1052         (builtin_d2i): Likewise.
1053         * src/vm/jit/stack.c (icmd_print_stack): Fixed for ENABLE_INTRP and
1054         SUPPORT_COMBINE_INTEGER_REGISTERS.
1055
1056 2006-01-23 16:03  twisti
1057
1058         * src/vm/jit/stack.c (show_icmd_method): Fixed basic block count
1059         output.
1060         
1061         * src/vm/jit/i386/codegen.c (codegen): Use disp instead of a. Usage of
1062         some more macros.
1063         * src/vm/jit/i386/codegen.h (M_BLT): Added.
1064         (M_BLE): Likewise.
1065         (M_BGE): Likewise.
1066         (M_BGT): Likewise.
1067         (M_BBE): Likewise.
1068         (M_BAE): Likewise.
1069
1070 2006-01-23 01:12  twisti
1071
1072         * configure.ac (AC_INIT): Changed version number to 0.94+cvs.
1073         (CFLAGS): Changed optimization back to -O0.
1074
1075 2006-01-23 01:01  twisti
1076
1077         * ChangeLog: Updated for 0.94 release.
1078
1079 2006-01-22 23:42  twisti
1080
1081         * configure.ac (AC_INIT): Changed version number to 0.94.
1082         (CFLAGS): Changed optimization to -O2.
1083
1084 2006-01-22 23:33  twisti
1085
1086         * Updated header: Added 2006. Changed address of FSF. Changed email
1087         address.
1088
1089 2006-01-22 23:16  twisti
1090
1091         * Updated svn:ignore propset.
1092
1093 2006-01-22 23:00  twisti
1094
1095         * src/vm/jit/intrp/Makefile.am (EXTRA_DIST): Added gray.fs and
1096         BUILT_SOURCES.
1097
1098 2006-01-22 22:46  twisti
1099
1100         * tests/regression/extest.java: Typo.
1101
1102 2006-01-22 22:36  twisti
1103
1104         * NEWS: Added releases 0.90, 0.91, 0.92, 0.93, 0.94.
1105
1106 2006-01-22 22:34  twisti
1107
1108         * README: Updated.
1109
1110 2006-01-22 21:42  twisti
1111
1112         * src/vm/jit/intrp/codegen.c (cacaotype2ffitype): Revert edwin's
1113         bugfix, but we can't use ffi_type_slong as it's defined as 64-bit
1114         value on 32-bit machines.
1115
1116 2006-01-22 21:40  twisti
1117
1118         * src/native/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
1119         (libnative_la_SOURCES): Removed nativecalls.inc.
1120
1121 2006-01-22 21:39  twisti
1122
1123         * tests/Makefile.am (SUBDIRS): Removed native.
1124
1125 2006-01-22 21:38  twisti
1126
1127         * tests/regression/native/testarguments.output: Updated.
1128         * tests/regression/native/Makefile.am: Made it work with distcheck.
1129         * tests/regression/codepatching/Makefile.am: Likewise.
1130         * tests/regression/Makefile.am: Likewise.
1131         
1132         * tests/regression/extest.java: Comment changed.
1133
1134 2006-01-22 21:22  twisti
1135
1136         * configure.in: Renamed to configure.ac.
1137
1138 2006-01-22 21:21  twisti
1139
1140         * configure.in (AC_CONFIG_FILES): Removed tests/native/Makefile, added
1141         tests/regression/native/Makefile.
1142
1143 2006-01-22 20:21  twisti
1144
1145         * tests/native: Moved to tests/regression/native.
1146
1147 2006-01-22 20:00  twisti
1148
1149         * src/vm/jit/asmpart.h (asm_handle_exception)
1150         (asm_handle_nat_exception): #ifdef ENABLE_JIT.
1151
1152 2006-01-22 19:59  twisti
1153
1154         * src/vm/jit/jit.c (jit_compile_intern): Use
1155         CLASS_IS_OR_ALMOST_INITIALIZED to check uninitialized.
1156
1157 2006-01-22 19:57  twisti
1158
1159         * src/vm/jit/stacktrace.c (stacktrace_create_inline_stackframeinfo):
1160         Compiler warning fix.
1161
1162 2006-01-22 19:56  twisti
1163
1164         * src/vm/jit/intrp/java.vmg: Some reformatting.
1165
1166 2006-01-22 19:55  twisti
1167
1168         * src/vm/jit/intrp/asmpart.c (vm/loader.h): Added.
1169         (intrp_asm_calljavafunction_intern): Use u1* instead of entrypoint.
1170         (jni_invoke_java_intern): Likewise.
1171
1172 2006-01-22 19:50  twisti
1173
1174         * .cvsignore, src/toolbox/.cvsignore, src/vm/jit/inline/.cvsignore,
1175         src/vm/jit/allocator/.cvsignore: TAGS added.
1176
1177 2006-01-22 19:37  twisti
1178
1179         * src/boehm-gc/.cvsignore, src/boehm-gc/include/.cvsignore,
1180         src/vm/.cvsignore, src/vm/jit/tools/.cvsignore,
1181         src/vm/jit/verify/.cvsignore, src/vm/jit/loop/.cvsignore,
1182         src/vm/jit/.cvsignore, src/vm/jit/intrp/.cvsignore,
1183         src/cacao/.cvsignore, src/native/vm/.cvsignore,
1184         src/native/include/.cvsignore, src/native/.cvsignore,
1185         src/mm/.cvsignore, src/threads/native/.cvsignore,
1186         src/threads/.cvsignore, src/fdlibm/.cvsignore, src/.cvsignore,
1187         src/cacaoh/.cvsignore: TAGS added.
1188
1189 2006-01-22 19:29  edwin
1190
1191         * src/vm/jit/intrp/codegen.c (nativecall): Fixed calculation of the
1192         stackframeinfo address.
1193
1194 2006-01-22 14:44  twisti
1195
1196         * src/vm/jit/codegen-common.c (codegen_addreference): The last fix was
1197         not correct if only the intrp is built.
1198
1199 2006-01-22 14:39  twisti
1200
1201         * src/vm/class.c (class_showmethods): Use class_printflags.
1202         * src/vm/loader.c, src/vm/loader.h (fprintflags): Removed.
1203         (printflags): Likewise.
1204         * src/vm/jit/inline/sets.c (printFldSet): Use field_println instead of
1205         field_display.
1206         * src/vm/field.c, src/vm/field.h (field_display): Removed.
1207         (field_printflags): Added.
1208         (field_print): Likewise.
1209         (field_println): Likewise.
1210
1211 2006-01-22 00:45  edwin
1212
1213         * src/vm/jit/intrp/codegen.c (cacaotype2ffitype): Use ffi_type_sint
1214         for
1215         values of TYPE_INT. This fixes the interpreter on i386, though I'm not
1216         sure if it is a correct and complete solution.
1217
1218 2006-01-21 21:46  edwin
1219
1220         * src/vm/jit/codegen-common.c (codegen_addreference): Fixed bug when
1221         both ENABLE_INTRP and ENABLE_JIT were defined.
1222
1223 2006-01-21 20:22  edwin
1224
1225         * src/vm/jit/verify/typecheck.c (typestack_copy,
1226         typestack_separable_with)
1227         (typestack_separable_from, verify_basic_block): Comment-only changes.
1228         (verify_basic_block): Small typo fix in string.
1229
1230 2006-01-20 14:49  twisti
1231
1232         * src/native/jni.c (fill_callblock_from_objectarray): Fixed typo.
1233         (jni_method_invokeNativeHelper): Major code rewrite and speed
1234         improvement, renamed to _Jv_jni_invokeNative.
1235         (cacao_jni_CallVoidMethod): Fixed interpreter bug, renamed to
1236         _Jv_jni_CallVoidMethod.
1237         (callLongMethod): Renamed to _Jv_jni_CallLongMethod.
1238         * src/native/jni.h (jni_method_invokeNativeHelper): Renamed to
1239         _Jv_jni_invokeNative.
1240         * src/native/vm/Method.c (Java_java_lang_reflect_Method_invokeNative):
1241         Renamed jni_method_invokeNativeHelper to _Jv_jni_invokeNative.
1242         * src/native/vm/Constructor.c: Updated includes.
1243         (Java_java_lang_reflect_Constructor_constructNative): Renamed
1244         jni_method_invokeNativeHelper to _Jv_jni_invokeNative.
1245
1246 2006-01-20 13:41  twisti
1247
1248         * tests/regression/Makefile.am (EXTRA_DIST): Made it more readable.
1249
1250 2006-01-20 13:40  twisti
1251
1252         * src/vm/jit/intrp/intrp.h (ffi.h): Removed, not required in this
1253         file.
1254         * src/vm/jit/intrp/codegen.c (nativecall): Removed unused big-endian
1255         code.
1256         * src/vm/jit/intrp/asmpart.c (asm_calljavafunction_intern): Renamed to
1257         intrp_asm_calljavafunction_intern, just to be sure.
1258
1259 2006-01-20 13:33  twisti
1260
1261         * src/vm/jit/mips/irix/md-os.c (md_signal_handler_sigsegv): Missed the
1262         actal rename from the previous commit.
1263
1264 2006-01-20 13:28  twisti
1265
1266         * src/vm/signal.c (vm/signallocal.h): Added.
1267         * src/vm/signallocal.h (md_signal_handler_sigfpe): #ifdef for i386 and
1268         x86_64.
1269
1270 2006-01-20 13:25  twisti
1271
1272         * src/vm/jit/powerpc/linux/md-os.c, src/vm/jit/powerpc/darwin/md-os.c,
1273         src/vm/jit/alpha/linux/md-os.c, src/vm/jit/alpha/freebsd/md-os.c,
1274         src/vm/jit/mips/linux/md-os.c, src/vm/jit/mips/irix/md-os.c
1275         (signal_handler_sigsegv): Renamed to md_signal_handler_sigsegv.
1276         * src/vm/jit/i386/linux/md-os.c, src/vm/jit/i386/freebsd/md-os.c,
1277         src/vm/jit/x86_64/md.c (signal_handler_sigsegv): Renamed to
1278         md_signal_handler_sigsegv.
1279         (signal_handler_sigfpe): Renamed to md_signal_handler_sigfpe.
1280         * src/vm/signal.c (signal_init): Renamed signal_handler_sigsegv to
1281         md_signal_handler_sigsegv and signal_handler_sigfpe to
1282         md_signal_handler_sigfpe respectively.
1283         * src/vm/signallocal.h (md_signal_handler_sigsegv): Added.
1284         (md_signal_handler_sigfpe): Likewise.
1285
1286 2006-01-20 13:19  twisti
1287
1288         * src/vm/jit/alpha/codegen.h (ucontext.h): Removed.
1289         (thread_restartcriticalsection): Removed.
1290
1291 2006-01-20 13:06  twisti
1292
1293         * src/vm/jit/x86_64/disass.c (dis-asm.h): Added.
1294         (vm/global.h): Likewise.
1295         (mm/memory.h): Removed.
1296
1297 2006-01-20 13:05  twisti
1298
1299         * src/vm/class.c, src/vm/class.h (class_printflags): Added.
1300         (class_print): Likewise.
1301         (class_println): Likewise.
1302
1303 2006-01-20 12:58  twisti
1304
1305         * src/vm/jit/i386/disass.c (disassinstr): Set the read_memory_func in
1306         disassemble_info to disass_buffer_read_memory.
1307         (disassemble): Removed.
1308
1309 2006-01-20 12:57  twisti
1310
1311         * src/vm/jit/stack.c (show_icmd_method): Print basic blocks count and
1312         better basic block header output.
1313         ICMD_MULTIANEWARRAY: Changed iptr->target and iptr->val.a value.
1314         ICMD_IFLE_ICONST, ICMD_ELSE_ICONST: Print values better.
1315
1316 2006-01-20 12:01  twisti
1317
1318         * src/vm/jit/powerpc/disass.c (disassinstr): Set the read_memory_func
1319         in disassemble_info to disass_buffer_read_memory.
1320         (disassemble): Removed.
1321
1322 2006-01-20 11:38  twisti
1323
1324         * src/vm/jit/disass-common.c, src/vm/jit/disass.h: Added
1325         disassemble_info and disass_initialized.
1326         (disassemble): Added.
1327         (buffer_read_memory): Renamed to disass_buffer_read_memory.
1328         * src/vm/jit/x86_64/disass.c (disassinstr): Set the read_memory_func
1329         in disassemble_info to disass_buffer_read_memory.
1330         (disassemble): Removed.
1331
1332 2006-01-20 10:15  twisti
1333
1334         * regression/extest.java: Removed asmpart exceptions as they are now
1335         checked with codepatching.
1336         * regression/extest.2output: Regenerated.
1337         * regression/extest_clinit.java: Added.
1338
1339 2006-01-20 10:08  twisti
1340
1341         * src/vm/jit/alpha/md.c (md_init): Moved #include and extern's to the
1342         top of the file, since this broke compilation on debian unstable.
1343
1344 2006-01-19 23:40  edwin
1345
1346         * src/vm/jit/parse.h: Added vim boilerplate.
1347
1348 2006-01-19 23:35  edwin
1349
1350         * src/vm/jit/stack.c: Added vim boilerplate.
1351
1352 2006-01-19 22:21  twisti
1353
1354         * configure.in (AC_CONFIG_FILES): Removed tests/codepatching/Makefile
1355         and added tests/regression/codepatching/Makefile.
1356         * tests/Makefile.am (SUBDIRS): Removed codepatching.
1357         * tests/regression/Makefile.am (SUBDIRS) Added with codepatching.
1358         * tests/regression/codepatching/Makefile.am (JAVAFLAGS): Added.
1359
1360 2006-01-19 22:11  edwin
1361
1362         * src/vm/jit/parse.c (parse): Removed inlining code.
1363
1364 2006-01-19 22:06  edwin
1365
1366         * src/vm/options.c, src/vm/options.h (useinliningm): Removed.
1367
1368 2006-01-19 22:05  twisti
1369
1370         * tests/codepatching: Moved to tests/regression/codepatching.
1371
1372 2006-01-19 21:31  edwin
1373
1374         * src/vm/jit/jit.c (jit_compile): Removed the INAFTERMAIN hack.
1375
1376 2006-01-19 21:27  edwin
1377
1378         * src/vm/jit/inline/inline.c (inlining_setup): Removed INAFTERMAIN
1379         hack.
1380
1381 2006-01-19 21:26  edwin
1382
1383         * src/cacao/cacao.c (main): Disabled useinlining and useinliningm.
1384
1385 2006-01-19 20:56  twisti
1386
1387         * src/vm/jit/intrp/codegen.c, src/vm/jit/intrp/java.vmg (FALOAD)
1388         (FASTORE): Added, required for big-endian machines.
1389         * src/vm/jit/intrp/engine.c (access_array_float): Likewise.
1390
1391 2006-01-19 20:53  twisti
1392
1393         * src/vm/global.h (java_floatarray): Typo.
1394
1395 2006-01-19 20:28  edwin
1396
1397         * src/vm/jit/parse.c (parse, fillextable): Removed debugging code.
1398         Minor cleanup.
1399
1400 2006-01-19 20:13  edwin
1401
1402         * src/vm/jit/parse.c (parse): Removed commented out debugging code.
1403
1404 2006-01-19 20:03  twisti
1405
1406         * src/vm/class.c (class_showmethods): Replaced method_display with
1407         method_println.
1408
1409 2006-01-19 20:00  twisti
1410
1411         * src/vm/jit/inline/inline.c, src/vm/jit/inline/sets.c,
1412         src/vm/jit/inline/parseRTstats.c, src/vm/jit/inline/parseRT.c,
1413         src/vm/jit/inline/parseRTprint.h, src/vm/jit/inline/parseXTA.c:
1414         Replaced method_display and method_display_w_class calls with
1415         method_println.
1416
1417 2006-01-19 19:49  twisti
1418
1419         * src/vm/method.c, src/vm/method.h (method_display): Removed.
1420         (method_display_w_class): Likewise.
1421         (method_printflags): Added.
1422         (method_print): Likewise.
1423         (method_println): Likewise.
1424         Removed. --This line, and those below, will be ignored--
1425         
1426         M method.c
1427         M method.h
1428
1429 2006-01-19 17:02  twisti
1430
1431         * src/vm/jit/powerpc/linux/Makefile.am (INCLUDES): Renamed to
1432         AM_CPPFLAGS.
1433         * src/vm/jit/powerpc/Makefile.am (AM_CPPFLAGS): Added missing
1434         $(OS_DIR) include.
1435
1436 2006-01-19 16:02  twisti
1437
1438         * INCLUDES: Replaced with AM_CPPFLAGS as Tom Tromey suggested on irc,
1439         as this is more common these days.
1440
1441 2006-01-19 11:58  edwin
1442
1443         * alpha, mips, nat: removed obsolete directories resurrected by svn
1444         migration
1445
1446 2006-01-19 09:47  twisti
1447
1448         * INCLUDES: Replaced with AM_CPPFLAGS as Tom Tromey suggested on irc,
1449         as this is more common these days.
1450
1451 2006-01-18 21:41  edwin
1452
1453         * havoc.class: fix corruption by svn eol-style conversion
1454