comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java @ 22686:2408f05d0ae7

Update javadoc for methodDataProfileDataSize
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 15 Oct 2015 11:50:37 -0700
parents 1bbd4a7c274b
children ea58bbafd5b9
comparison
equal deleted inserted replaced
22685:3039e5bb94cb 22686:2408f05d0ae7
587 * @return null or the resolved method for this location 587 * @return null or the resolved method for this location
588 */ 588 */
589 native HotSpotResolvedObjectTypeImpl getResolvedJavaType(Object base, long displacement, boolean compressed); 589 native HotSpotResolvedObjectTypeImpl getResolvedJavaType(Object base, long displacement, boolean compressed);
590 590
591 /** 591 /**
592 * Return the size of the HotSpot ProfileData* pointed at by {@code position}. If
593 * {@code position} is outside the space of the MethodData then an
594 * {@link IllegalArgumentException} is thrown. A {@code position} inside the MethodData but that
595 * isn't pointing at a valid ProfileData will crash the VM.
596 *
592 * @param metaspaceMethodData 597 * @param metaspaceMethodData
593 * @param position 598 * @param position
594 * @return Return the size of the ProfileData item pointed at by {@code current}. Throws 599 * @return the size of the ProfileData item pointed at by {@code position}
595 * {@link IllegalArgumentException} if an invalid position is given. 600 * @throws IllegalArgumentException if an out of range position is given
596 */ 601 */
597 native int methodDataProfileDataSize(long metaspaceMethodData, int position); 602 native int methodDataProfileDataSize(long metaspaceMethodData, int position);
598 } 603 }