Comment

Comment by ywei3410

There's also the new JVM option which eludes me at the moment which sweeps the strings which are promoted to the older generation and interns them.

Not certain about whether `String.intern` is permanently stored; I rather suspect that it sweeps the existing strings since iirc the java string has a hash associated with it anyway.

parent ywei3410 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton