Skip to content
Sharp

Performance Tuning · interview question

Which JVM memory area is primarily affected during a Stop-The-World (STW) pause?

Multiple choiceEasychapter-14-curatedpremiumperformance-tuningthread-dumps
Choose one answer
Answer and explanation

Correct answer

B. Heap

Why

Stop-The-World pauses usually occur during garbage collection, which primarily affects the heap area of the JVM. During these pauses, all application threads are stopped to allow the garbage collector to function.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →