Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.code/src/jdk/vm/ci/code/DebugInfo.java @ 23700:9e1235406b59
[Findbugs] various warnings reported for JVMCI sources (JDK-8159613)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 18 Jun 2016 13:19:01 +0200 |
parents | 1bbd4a7c274b |
children |
comparison
equal
deleted
inserted
replaced
23699:8f9709f61cd4 | 23700:9e1235406b59 |
---|---|
46 /** | 46 /** |
47 * Creates a new {@link DebugInfo} from the given values. | 47 * Creates a new {@link DebugInfo} from the given values. |
48 * | 48 * |
49 * @param codePos the {@linkplain BytecodePosition code position} or {@linkplain BytecodeFrame | 49 * @param codePos the {@linkplain BytecodePosition code position} or {@linkplain BytecodeFrame |
50 * frame} info | 50 * frame} info |
51 * @param virtualObjectMapping the mapping of {@link VirtualObject}s to their real values | 51 * @param virtualObjectMapping the mapping of {@link VirtualObject}s to their real values. This |
52 * array is now owned by this object and must not be mutated by the caller. | |
52 */ | 53 */ |
54 @SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "caller transfers ownership of `virtualObjectMapping`") | |
53 public DebugInfo(BytecodePosition codePos, VirtualObject[] virtualObjectMapping) { | 55 public DebugInfo(BytecodePosition codePos, VirtualObject[] virtualObjectMapping) { |
54 this.bytecodePosition = codePos; | 56 this.bytecodePosition = codePos; |
55 this.virtualObjectMapping = virtualObjectMapping; | 57 this.virtualObjectMapping = virtualObjectMapping; |
56 } | 58 } |
57 | 59 |