<div dir="auto"><p dir="ltr">Silly question -- what happens if you use this feature, but end up with more classes than can fit in the class' object header? I like to think of myself as aware of my project's performance metrics, but the number of classes loaded is not a detail I track.</p>
<p dir="ltr">Related question -- is it possible to know ahead of time EXACTLY how many classes are going to be loaded? I know for everyday projects, the answer is yes. But I was thinking more like Proxy classes (like how Spring does it), since (to my understanding) those are generated on the fly and aren't known at compile time.</p></div>
<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 13, 2025, 1:27 PM Mark Reinhold <<a href="mailto:mark.reinhold@oracle.com" target="_blank" rel="noreferrer">mark.reinhold@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://openjdk.org/jeps/519" rel="noreferrer noreferrer noreferrer" target="_blank">https://openjdk.org/jeps/519</a><br>
<br>
  Summary: Change compact object headers from an experimental feature to<br>
  a product feature.<br>
<br>
- Mark</blockquote></div>