mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8308992: New test TestHFA fails with zero
Reviewed-by: mcimadamore
This commit is contained in:
parent
fb0b1f0c23
commit
804f198c73
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ public final class FallbackLinker extends AbstractLinker {
|
||||||
acquireCallback.accept(addrArg);
|
acquireCallback.accept(addrArg);
|
||||||
argSeg.set(al, 0, addrArg);
|
argSeg.set(al, 0, addrArg);
|
||||||
} else if (layout instanceof GroupLayout) {
|
} else if (layout instanceof GroupLayout) {
|
||||||
argSeg.copyFrom((MemorySegment) arg); // by-value struct
|
MemorySegment.copy((MemorySegment) arg, 0, argSeg, 0, argSeg.byteSize()); // by-value struct
|
||||||
} else {
|
} else {
|
||||||
assert layout == null;
|
assert layout == null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue