Skip to content

Commit acff581

Browse files
authored
Merge pull request #24248 from JasonFengJ9/valhallaunsafe
Valhalla adds Unsafe.NON_FLAT_LAYOUT
2 parents 8c45457 + cd2eaa1 commit acff581

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • jcl/src/java.base/share/classes/jdk/internal/misc

jcl/src/java.base/share/classes/jdk/internal/misc/Unsafe.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6710,6 +6710,12 @@ private static char convEndian(boolean isBigEndian, char value) {
67106710

67116711
/*[IF INLINE-TYPES]*/
67126712

6713+
/**
6714+
* The layout value to be checked,
6715+
* other values represent some kind of flat layout opaque to Java code.
6716+
*/
6717+
public static final int NON_FLAT_LAYOUT = 0;
6718+
67136719
/**
67146720
* Determines the size of the header for a specified value class
67156721
*

0 commit comments

Comments
 (0)