RFR(XL) 8186453: [AOT] refactor AOT tool code
vladimir.kozlov at oracle.com
Sat Aug 19 02:48:45 UTC 2017
Thank you, Igor
On 8/18/17 7:34 PM, Igor Veresov wrote:
> Very good cleanup. Thanks!
>> On Aug 18, 2017, at 11:54 AM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>> webrev: http://cr.openjdk.java.net/~kvn/8186453/webrev/
>> Refactoring AOT code:
>> - Made most tool's klasses and methods package private and final (biggest change).
>> - AOT library sections renaming to shorter names, removing 'JVM' from their global names.
>> - Split MethodCounters GOT cells into separate section - now .kls.got (original .metaspace.got) section will have only klass pointers.
>> - Made .method.metadata RO section - it is next big section after .text and it was incorrectly marked as RW due to old implementation.
>> - Split big Main.java into separate class:
>> Collector.java - collects classes and methods to compile based on flags;
>> Linker.java - check if linker is present on machine and execute linking;
>> Options.java - process flags.
>> - Moved various print methods from Main.java to LogPrinter.java.
>> - Split StubInformation.java from CompiledMethodInfo.java.
>> - Renamed MiscUtils to CallInfo class.
>> - Removed unused RelocType and other values.
>> - Fixed Eclipse warnings (for example, removed unused imports and made methods static).
>> Passed AOT jtreg tests and RBT testing.
More information about the hotspot-compiler-dev