Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
invalidname
2y ago
0 comments
Save
Share
This is mentioned in the memory layout section in the post.
0 comments
3 comments · 1 top-level
top
newest
oldest
anonymoushn
2y ago
· 2 in thread
I'm not sure what "a marker" is and how to make it take 0 bits of storage.
invalidname
OP
2y ago
This is an upcoming behavior in Valhalla which isn't yet a part of Java so there's nothing final. Currently Valhalla has primitive and value object types that determine identity behavior.
anonymoushn
2y ago
You mean non-nullable object types then. Which are faster and take up less space because that's how the hardware works :)
1 more reply
j
/
k
navigate · click thread line to collapse