summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
65 min.Document how to build the OFA Kotlin compiler native imageHEADmainJoel Klinghed
native-image/kotlin-2.4.21-native-image.patch is the change to the Kotlin repository at v2.4.21. It bundles parcelize and plugin jars from outside the repository, adds the constructor metadata that the plugin loader needs, and adds G1, PGO and GraalVM home options. It also has the reachability metadata collected from OFA modules. native-image/build.sh runs the plain, instrumented and PGO builds, and native-image/README.md describes the full procedure and the results. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
65 min.Add ic_check.shJoel Klinghed
Checks that incremental Kotlin compilation gives correct output in the OFA build: inlined constants in the same module and in a dependency module, a signature change, and a deleted source file. Run it in jvm mode first to check the test itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
65 min.Add collect_metadata.pyJoel Klinghed
Replays a compile from a Kotlin daemon log on the JVM compiler, with the GraalVM tracing agent. The agent merges the reachability metadata into the Kotlin checkout, for the next native image build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
109 min.Simplify by demanding kotlin.proxy.nativeImage is setJoel Klinghed
Don't download anything.
114 min.fixup! Fix error message parsingJoel Klinghed
More
2 hoursFix error message parsingJoel Klinghed
3 hoursAdd kotlin.proxy.pgoProfileDir propertyJoel Klinghed
Used to collect profile directories.
4 hoursAdd support for kotlin.proxy.nativeImage system propertyJoel Klinghed
Allow overriding which native image is used.
5 hoursfixup! Parse severity lines even if earlier line has multiple colonsJoel Klinghed
5 hoursParse severity lines even if earlier line has multiple colonsJoel Klinghed
5 hoursRemove unnecessary full referenceJoel Klinghed
5 hoursgen_arg_table: Actually skip flags that are on per defaultJoel Klinghed
kotlin compiler warns about this flag and even the generator warning says that is should be omitted.
7 hoursfixup! Initial commitJoel Klinghed
Checksum for wrong version of gradle
7 hoursStarted AS onceJoel Klinghed
7 hoursRemove fallback, not neededJoel Klinghed
7 daysRemove old leftoversJoel Klinghed
7 daysAdd --no-log stub flavor and a second jarJoel Klinghed
The --no-log flag in gen_class.py is now wired through the body generators: emitted stubs skip KotlinProxyLog.loaded()/call() and route reference returns through kotlin.proxy.KotlinProxyNoLog.returnValue instead, so the generated trio references only KotlinProxyNoLog (call/ loaded methodrefs are kept out of the constant pool; max_stack is recomputed for the logging-free bodies). Makefile builds two jars from the same kotlin.proxy.* sources: dist/kotlin-proxy-compiler-stubs.jar (logging) and dist/kotlin-proxy-compiler-stubs-nolog.jar (--no-log). Adds KotlinProxyNoLog (logging-free returnValue/newInstance) and ignores its build outputs like the log flavor's.
7 daysCleanup stub file injectionJoel Klinghed
8 daysMake kotlin compiler propxy download native image if neededJoel Klinghed
Also parse and handle warning/error output from native image compiler. Note that the native-image compiler is quite noisy, so ignoring "unknown" output for now.
8 daysFix Makefile for jars and update fallback.txtJoel Klinghed
9 daysGenerate argument handling from kotlin-compiler-arguments-descriptionJoel Klinghed
11 daysfixup! Bump kotlin to 2.4.21Joel Klinghed
11 daysgen_class: Fix class reference resolutionJoel Klinghed
There is no dependency order in the constant table, a class reference may reference a name with a higher index for example.
11 daysfixup! Bump kotlin to 2.4.21Joel Klinghed
11 daysnit: Make newInstance private as its not called outside this classJoel Klinghed
11 daystest_project: Remove legacy classpath overrideJoel Klinghed
2026-11-07Bump kotlin to 2.4.21Joel Klinghed
Support <clinit>
2026-11-05Pass the receiver instance to KotlinProxyOverrides.invokeJoel Klinghed
The generated returnValue call now carries the stub instance the method was called on (null for statics), so overrides can keep per-compiler state instead of statics: the performance manager is now stored in an IdentityHashMap keyed by receiver, and OVERRIDE log lines carry the receiver's identityHashCode as inst=0x… .
2026-11-05First steps for overridesJoel Klinghed
2026-11-03claude /initJoel Klinghed
2026-11-03Remove outdated commentJoel Klinghed
2026-11-03Remove unused leftoversJoel Klinghed
2026-11-03Remove classes_min from git historyJoel Klinghed
Can be re-generated.
2026-11-02Initial commitJoel Klinghed