mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
Merge
This commit is contained in:
commit
5393dc9a48
10 changed files with 54 additions and 15 deletions
|
@ -345,6 +345,7 @@ public sealed interface Linker permits AbstractLinker {
|
|||
* }
|
||||
* }
|
||||
*/
|
||||
@PreviewFeature(feature=PreviewFeature.Feature.FOREIGN)
|
||||
sealed interface CaptureCallState extends Option
|
||||
permits LinkerOptions.CaptureCallStateImpl {
|
||||
/**
|
||||
|
|
|
@ -129,7 +129,7 @@ public non-sealed class LinuxAArch64VaList implements VaList {
|
|||
}
|
||||
|
||||
private static MemorySegment emptyListAddress() {
|
||||
MemorySegment ms = MemorySegment.allocateNative(LAYOUT, SegmentScope.auto());
|
||||
MemorySegment ms = MemorySegment.allocateNative(LAYOUT, SegmentScope.global());
|
||||
VH_stack.set(ms, MemorySegment.NULL);
|
||||
VH_gr_top.set(ms, MemorySegment.NULL);
|
||||
VH_vr_top.set(ms, MemorySegment.NULL);
|
||||
|
|
|
@ -138,7 +138,7 @@ public non-sealed class SysVVaList implements VaList {
|
|||
}
|
||||
|
||||
private static MemorySegment emptyListAddress() {
|
||||
MemorySegment base = MemorySegment.allocateNative(LAYOUT, SegmentScope.auto());
|
||||
MemorySegment base = MemorySegment.allocateNative(LAYOUT, SegmentScope.global());
|
||||
VH_gp_offset.set(base, MAX_GP_OFFSET);
|
||||
VH_fp_offset.set(base, MAX_FP_OFFSET);
|
||||
VH_overflow_arg_area.set(base, MemorySegment.NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue