Skip to content
Sharp

JVM Architecture · interview question

Why was PermGen replaced by Metaspace in Java 8?

Multiple choiceMediumchapter-14-curatedpremiumjvm-architecturemetaspace
Choose one answer
Answer and explanation

Correct answer

C. To provide better memory management and avoid manual tuning

Why

Metaspace provides automatic memory management and adjusts to application needs, reducing the need for manual configuration and avoiding common issues associated with fixed-size PermGen.

Test yourself on JVM Architecture

A free test with instant, explained results. No account needed.

Start free test
All JVM Architecture questions →