comparison jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/MemoryAccessProvider.java @ 23400:0cbc2bd101c3

revert incorrect assertion and correct javadoc around MemoryAccessProvider.readObjectConstant
author Doug Simon <doug.simon@oracle.com>
date Wed, 18 May 2016 21:31:59 +0200
parents 1d4ce2d19e52
children c9993da505a0
comparison
equal deleted inserted replaced
23399:acfe624d83f5 23400:0cbc2bd101c3
57 /** 57 /**
58 * Reads a Java {@link Object} value using a base address and a displacement. 58 * Reads a Java {@link Object} value using a base address and a displacement.
59 * 59 *
60 * @param base the base address from which the value is read 60 * @param base the base address from which the value is read
61 * @param displacement the displacement within the object in bytes 61 * @param displacement the displacement within the object in bytes
62 * @return the read value encapsulated in a {@link Constant} object 62 * @return the read value encapsulated in a {@link Constant} object or {@code null} if the
63 * address computed from {@code base} and {@code displacement} does not denote a
64 * location holding an {@code Object} value
63 */ 65 */
64 JavaConstant readObjectConstant(Constant base, long displacement); 66 JavaConstant readObjectConstant(Constant base, long displacement);
65 } 67 }