mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 18:53:37 +00:00
8381233: Linker does not need to be value based class
Reviewed-by: mcimadamore
This commit is contained in:
parent
15f09ceaf9
commit
7bbd261978
@ -551,8 +551,7 @@ import java.util.function.Consumer;
|
||||
* upcall is typically executed in the context of a downcall method handle invocation.
|
||||
*
|
||||
* @implSpec
|
||||
* Implementations of this interface are immutable, thread-safe and
|
||||
* <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
|
||||
* Implementations of this interface are immutable, thread-safe.
|
||||
*
|
||||
* @since 22
|
||||
*/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -24,6 +24,8 @@
|
||||
*/
|
||||
package jdk.internal.foreign;
|
||||
|
||||
import jdk.internal.ValueBased;
|
||||
|
||||
import java.lang.foreign.FunctionDescriptor;
|
||||
import java.lang.foreign.GroupLayout;
|
||||
import java.lang.foreign.MemoryLayout;
|
||||
@ -43,6 +45,7 @@ import static java.util.Objects.requireNonNull;
|
||||
/**
|
||||
* @implSpec This class and its subclasses are immutable, thread-safe and <a href="{@docRoot}/java.base/java/lang/doc-files/ValueBased.html">value-based</a>.
|
||||
*/
|
||||
@ValueBased
|
||||
public final class FunctionDescriptorImpl implements FunctionDescriptor {
|
||||
|
||||
private final MemoryLayout resLayout; // Nullable
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user