src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/InstalledCode.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. |
50 } |
50 } |
51 |
51 |
52 /** |
52 /** |
53 * @return the address of entity representing this installed code. |
53 * @return the address of entity representing this installed code. |
54 */ |
54 */ |
55 public final long getAddress() { |
55 public long getAddress() { |
56 return address; |
56 return address; |
57 } |
57 } |
58 |
58 |
59 /** |
59 /** |
60 * @return the address of the normal entry point of the installed code. |
60 * @return the address of the normal entry point of the installed code. |
61 */ |
61 */ |
62 public final long getEntryPoint() { |
62 public long getEntryPoint() { |
63 return entryPoint; |
63 return entryPoint; |
64 } |
64 } |
65 |
65 |
66 /** |
66 /** |
67 * @return the version number of this installed code |
67 * @return the version number of this installed code |