22 Commits

Author SHA1 Message Date
9982538c89 replace native_hash_table argument-passing with vm 2025-01-21 21:44:37 -06:00
8f49f69e7e memoize native method lookups in method_entry 2025-01-21 21:31:32 -06:00
86e18a0944 java.nio: partial Path/Files/FileSystem/InputStream implementation 2025-01-19 22:54:54 -06:00
a9b40c9521 class_resolver: resolve static fields from superclasses 2025-01-11 16:44:08 -06:00
d1483a0c15 gc: automatically run garbage collection if memory allocation fails 2025-01-09 20:52:45 -06:00
dd4795c46b gc: add mark+sweep garbage collector 2025-01-09 19:29:39 -06:00
ab75598043 remove class_resolver_memoize_string_type
This was a decent idea, but it is not flexible enough to allow for correct
superclass type comparisons.
2025-01-06 22:29:32 -06:00
895646c25a refactor multiarray/anewarray/newarray/instanceof/checkedcast 2025-01-06 21:41:31 -06:00
d101710e0f backtrace / code_attribute / method_entry refactor 2025-01-05 16:38:14 -06:00
e22f2e87e8 partial support for checkcast and instanceof on object arrays 2024-12-30 11:50:07 -06:00
8768bd516c implement invokeinterface 2024-12-29 09:38:03 -06:00
b6da4ecea7 implement superclass method lookup 2024-12-29 08:48:10 -06:00
cb26d8cadf implement superclass instance field lookup 2024-12-29 07:14:51 -06:00
08f1fe0aa6 native_java_io_printstream_write 2024-12-26 05:18:02 -06:00
a476201cc1 initial dreamcast build system 2024-12-26 05:18:00 -06:00
cedeb20353 replace <stdio.h> include with platform macros 2024-12-25 23:20:17 -06:00
16eb6aa523 class_resolver: add constantpool-index-to-{class,method,field,string} cache
Object fields are now tightly packed. The intent is to make Object instances
more useful in native methods.
2024-12-25 21:09:15 -06:00
f1976baf57 implement String support 2024-12-25 10:10:28 -06:00
bba08c9a3e implement class instances 2024-12-25 04:36:46 -06:00
baa3db16b1 implement static method overloading 2024-12-24 20:24:14 -06:00
d2863035e4 implement static fields 2024-12-24 07:44:14 -06:00
932a7c82aa add class_resolver
Implement the getfield and invokestatic opcodes.
2024-12-23 23:25:45 -06:00