java - Serial Mark-Sweep-Compact (PSOldGen) PS stands for? -


when searched psoldgen garbage collector saw in gc log, found out serial mark-sweep-compact. if gc serial, ps in psoldgen stand for? afaik parallel scavenge. confuses me.

[full gc [psyounggen: 647k->0k(60352k)] [psoldgen: 45361k->45875k(54528k)] 46008k->45875k(114880k) [pspermgen: 10201k->10201k(21248k)], 0.0359430 secs] 

there 2 collectors in jvm: young space collector , old space collector. hotspot jvm implementing bunch of algorithms, combination of collectors workable.

psyounggen "parallel scavenge" young space gc algorithm, not compatible default serial algorithm old space (tenured). psoldgen serial old space algorithm added work parallel scavenge young space algorithm - psyounggen.

you can enable parallel algorithm old space (-xx:+useparalleloldgc), in case see psyounggen, paroldgen pair of algorithms @ work.

you can enable parallel young space algorithm -xx:+useparnewgc, tandem default serial old space algorithm tenured.

have lost already? :)

you can read more algorithms implemented in hotspot jvm in blog.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -