There is a lot of complicated logic in the code installation interface (classes CompilationResult, DataSection and HotSpotCompiledCode). The complex "building logic" of the HotSpotCompiledCode should be the responsibility of the compilers, not of the interface.
The goal is to simplify the interface in a way that HotSpotCompiledCode is a pure data class for passing information to the VM. CompilationResult and DataSection can be removed.
The goal is to simplify the interface in a way that HotSpotCompiledCode is a pure data class for passing information to the VM. CompilationResult and DataSection can be removed.