| Age | Commit message (Collapse) | Author |
|
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>
|
|
kotlin compiler warns about this flag and even the generator warning
says that is should be omitted.
|
|
|
|
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.
|
|
|
|
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… .
|
|
|
|
|