Latest C2 modularization work

Erik Österlund erik.osterlund at
Mon May 21 22:07:58 UTC 2018


Since last time, my C2 modularization patches were upstreamed in 
mainline, and conditional ZGC compilation was added in the ZGC repo. 
Here is my latest attempt of adapting the ZGC code to the new C2 
interface in an attempt to make upstream as tidy as possible.

Step 1: Cherry pick BarrierSetC2 from upstream, with my-conflict into 
current ZGC repo. This is an intermediate step that does not build.

Step 2: Move everything into ZBarrierSetC2. This should build and run.

Step 3: Move the x86 slow-path stub generation to ZBarrierSetAssembler. 
This should also build and run.

Steps 1-3 combined:

This could do with some more testing cycles still. Then I think it 
should be folded in for the next rebase.


More information about the zgc-dev mailing list