src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotRuntimeStub.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 import jdk.vm.ci.code.InstalledCode; |
25 import jdk.vm.ci.code.InstalledCode; |
26 import jdk.vm.ci.code.InvalidInstalledCodeException; |
26 import jdk.vm.ci.code.InvalidInstalledCodeException; |
27 import jdk.vm.ci.meta.ResolvedJavaMethod; |
27 import jdk.vm.ci.meta.ResolvedJavaMethod; |
28 |
28 |
29 /** |
29 /** |
30 * Implementation of {@link InstalledCode} for code installed as a RuntimeStub. |
30 * Implementation of {@link InstalledCode} for code installed as a {@code RuntimeStub}. The address |
|
31 * of the {@code RuntimeStub} is stored in {@link InstalledCode#address} and the value of |
|
32 * {@code RuntimeStub::entry_point()} is in {@link InstalledCode#entryPoint}. |
31 */ |
33 */ |
32 public class HotSpotRuntimeStub extends HotSpotInstalledCode { |
34 public class HotSpotRuntimeStub extends HotSpotInstalledCode { |
33 |
35 |
34 public HotSpotRuntimeStub(String name) { |
36 public HotSpotRuntimeStub(String name) { |
35 super(name); |
37 super(name); |