| Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
Don't download anything.
|
|
More
|
|
|
|
Used to collect profile directories.
|
|
Allow overriding which native image is used.
|
|
|
|
|
|
|
|
kotlin compiler warns about this flag and even the generator warning
says that is should be omitted.
|
|
Checksum for wrong version of gradle
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
There is no dependency order in the constant table, a class reference
may reference a name with a higher index for example.
|
|
|
|
|
|
|
|
Support <clinit>
|
|
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… .
|
|
|
|
|
|
|
|
|
|
Can be re-generated.
|
|
|