> I notice Apache Artemis still uses ParallelGC by default.

Where did you notice this? The JVM is configured to use G1GC on both Linux
[1] and Windows [2]. We used to use ParallelGC, but that was changed via
ARTEMIS-1047 [3] which was released in February 2021.

> Did anyone try Java 17 or 18 with ZGC already?

I've not tried ZGC.


Justin

[1]
https://github.com/apache/activemq-artemis/blob/main/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile#L40
[2]
https://github.com/apache/activemq-artemis/blob/main/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd#L36
[3] https://issues.apache.org/jira/browse/ARTEMIS-1047

On Tue, Oct 4, 2022 at 8:08 AM Boer, W. de - CJIB/IT&BV
<w.debo...@cjib.nl.invalid> wrote:

> Hi,
>
> I notice Apache Artemis still uses ParallelGC by default. Did anyone try
> Java 17 or 18 with ZGC already?
>
> We're using a symmetric cluster setup. Our nodes have 4 CPU's and 24GB
> memory. With ParallelGC we're experiencing long stop the world pauses every
> few weeks, resulting in an instable cluster (because of unnecessary
> failovers/failbacks or even crashes). The situation improved with G1GC,
> except for major garbage collections. ZGC looks promising with really short
> pauses, but I'm uncertain whether this is tested and production ready with
> Artemis 2.26.0?
>
> P.S. We're experiencing some strange behaviors with this setup. The
> cluster is working well, but suddenly redistribution seems to fail on one
> of the nodes resulting in missing messages. More on this in a separate
> issue...
>
> Best Regards,
>
> Walter
>
> **********************************************************************
>
> Disclaimer
>
> Dit bericht kan informatie bevatten die niet voor u is bestemd.
> Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is
> toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht
> te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van
> welke aard ook, die verband houdt met risico's verbonden aan het
> elektronisch verzenden van berichten.
>
> This message may contain information that is not intended for you.
> If you are not the addressee or if this message was sent to you by
> mistake, you are requested to inform the sender and delete the message. The
> State accepts no liability for damage of any kind resulting from the risks
> inherent in the electronic transmission of messages.
>
> Ministerie van Justitie en Veiligheid.
> **********************************************************************
>
> .
>

Reply via email to