src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/MetadataBuilder.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File hotspot Cdiff src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/MetadataBuilder.java

src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/MetadataBuilder.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 26,39 **** import java.util.ArrayList; import java.util.List; import jdk.tools.jaotc.binformat.BinaryContainer; import jdk.tools.jaotc.binformat.ByteContainer; - import jdk.tools.jaotc.binformat.Symbol.Binding; - import jdk.tools.jaotc.binformat.Symbol.Kind; import jdk.tools.jaotc.binformat.GotSymbol; - import jdk.tools.jaotc.AOTCompiledClass.AOTKlassData; import jdk.tools.jaotc.utils.NativeOrderOutputStream; import org.graalvm.compiler.code.CompilationResult; import org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider; import jdk.vm.ci.code.StackSlot; --- 26,36 ----
*** 41,51 **** import jdk.vm.ci.code.site.Infopoint; import jdk.vm.ci.code.site.Mark; import jdk.vm.ci.hotspot.HotSpotCompiledCode; import jdk.vm.ci.hotspot.HotSpotMetaData; ! class MetadataBuilder { private final DataBuilder dataBuilder; private final BinaryContainer binaryContainer; --- 38,48 ---- import jdk.vm.ci.code.site.Infopoint; import jdk.vm.ci.code.site.Mark; import jdk.vm.ci.hotspot.HotSpotCompiledCode; import jdk.vm.ci.hotspot.HotSpotMetaData; ! final class MetadataBuilder { private final DataBuilder dataBuilder; private final BinaryContainer binaryContainer;
*** 56,67 **** /** * Process compiled methods and create method metadata. */ void processMetadata(List<AOTCompiledClass> classes, AOTCompiledClass stubCompiledCode) { - binaryContainer.getMethodMetadataContainer().createSymbol(0, Kind.OBJECT, Binding.LOCAL, 0, "metaStart"); - for (AOTCompiledClass c : classes) { processMetadataClass(c); } processMetadataClass(stubCompiledCode); } --- 53,62 ----
src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/MetadataBuilder.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File