Commit Graph
1 Commits
Author SHA1 Message Date
Afloat 76fcdaadb7 Reuse constant-pool names while reading Java attributes (R3.12) (#1549)
The Java class reader copied every attribute's name out of the constant pool, so thousands of attributes pointing at one long name made a class file under 100 KB allocate over 250 MB. Attribute names are now borrowed from the pool for the parse, as attribute bodies already borrow their bytes. Parsed structures and the handling of unknown attributes are unchanged.
2026-11-11 00:58:50 +07:00