7.9.x with OpenJDK9 Garbage Collection

I spun up a new VM today with OpenJDK9 (Zulu) and Ignition 7.9.7. Poking around the ignition.conf file, I noticed the line commented out abut using Concurrent Mark and Sweep GC. It gives me two questions:

  1. Does this mean that G1GC is used by default? Java 9 and all.

  2. If I restore a gateway backup to this, will this get overwritten with old settings?

Not that I’m opposed to playing around, but this may get upgraded for use as my production server, and I’m feeling lazy. :wink:

I’d expect it to get overwritten - our recent gateway restores wrote settings over the defaults. (including G1GC and ram configuration that we use).

Yes, it’s using the default, which for Java 9 is G1GC, unless you’ve set something different.

In 7.9.8 we’re making G1GC the default for Java 8, too (unless you change the .conf file) because we didn’t realize how awful parallel GC is. :flushed:

It's about [expletive] time!

2 Likes

@AIO, I had figured, but thanks for the sanity check. :slight_smile:

@KathyApplebaum, I appreciate the info!

Tell us how you really feel, Phil. :laughing:

2 Likes