Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethod.java @ 23740:724fbad94ee3
expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI compilers (JDK-8164358)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 23 Aug 2016 22:46:08 +0200 |
parents | 1d4ce2d19e52 |
children | 6d2c72b822b0 |
comparison
equal
deleted
inserted
replaced
23739:8e907980771e | 23740:724fbad94ee3 |
---|---|
110 int vtableEntryOffset(ResolvedJavaType resolved); | 110 int vtableEntryOffset(ResolvedJavaType resolved); |
111 | 111 |
112 int intrinsicId(); | 112 int intrinsicId(); |
113 | 113 |
114 /** | 114 /** |
115 * Determines if this method denotes itself as a candidate for intrinsification. As of JDK9, | |
116 * this is denoted by the {@code HotSpotIntrinsicCandidate} annotation. In earlier JDK versions, | |
117 * this method returns true. | |
118 * | |
119 * @see <a href="https://bugs.openjdk.java.net/browse/JDK-8076112">JDK-8076112</a> | |
120 */ | |
121 default boolean isIntrinsicCandidate() { | |
122 return true; | |
123 } | |
124 | |
125 /** | |
115 * Allocates a compile id for this method by asking the VM for one. | 126 * Allocates a compile id for this method by asking the VM for one. |
116 * | 127 * |
117 * @param entryBCI entry bci | 128 * @param entryBCI entry bci |
118 * @return compile id | 129 * @return compile id |
119 */ | 130 */ |