<div dir="ltr">Hello,<div>I just noticed the Class.name field is mutable but not @Stable, meaning `Class.getName()` calls are not eligible for constant folding.</div><div><br></div><div>The last update to this field is in 2019 in JDK-8216302 when the field initialization was done directly by a write from hotspot code (for the class name is interned anyways, though interning limits scalability of hidden classes)</div><div><br></div><div>Would it be a good idea to submit a patch to mark this field @Stable? Given class names may be frequently used to quickly identify a class, to create descriptors.</div><div><br></div><div>Chen Liang<br><a class="gmail_plusreply"><br></a></div></div>