You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Sotirios Delimanolis <so...@yahoo.com> on 2016/04/21 19:54:06 UTC
What does Cassandra use (JNI?) that triggers GCLocker Initiated
GCs?
According to this Oracle document, GCLocker Initiated GC
is triggered when a JNI critical region was released. GC is blocked when any thread is in the JNI Critical region. If GC was requested during that period, that GC is invoked after all the threads come out of the JNI critical region.
What part of Cassandra's implementation does anything with JNI?
In our GC logs, this is by far the most common reason for GC pauses.
Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated
GCs?
Posted by Sotirios Delimanolis <so...@yahoo.com>.
We're running G1 at the moment, both young and mixed collections.
On Thursday, April 21, 2016 11:07 AM, Jake Luciani <ja...@gmail.com> wrote:
What kind of collection? if its par new I wouldn't worry.
On Thu, Apr 21, 2016 at 2:02 PM, Sotirios Delimanolis <so...@yahoo.com> wrote:
Should this be of any concern? Are the corresponding threads spending too long in this JNI critical region and delaying GC?
I don't get that impression at all from the GC log timings. They're very reasonable.
On Thursday, April 21, 2016 10:57 AM, Jake Luciani <ja...@gmail.com> wrote:
It's only used by the Snappy and LZ4 Compressors
On Thu, Apr 21, 2016 at 1:54 PM, Sotirios Delimanolis <so...@yahoo.com> wrote:
According to this Oracle document, GCLocker Initiated GC
is triggered when a JNI critical region was released. GC is blocked when any thread is in the JNI Critical region. If GC was requested during that period, that GC is invoked after all the threads come out of the JNI critical region.
What part of Cassandra's implementation does anything with JNI?
In our GC logs, this is by far the most common reason for GC pauses.
--
http://twitter.com/tjake
--
http://twitter.com/tjake
Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?
Posted by Jake Luciani <ja...@gmail.com>.
What kind of collection? if its par new I wouldn't worry.
On Thu, Apr 21, 2016 at 2:02 PM, Sotirios Delimanolis <so...@yahoo.com>
wrote:
> Should this be of any concern? Are the corresponding threads spending too
> long in this JNI critical region and delaying GC?
>
> I don't get that impression at all from the GC log timings. They're very
> reasonable.
>
> On Thursday, April 21, 2016 10:57 AM, Jake Luciani <ja...@gmail.com>
> wrote:
>
>
> It's only used by the Snappy and LZ4 Compressors
>
> On Thu, Apr 21, 2016 at 1:54 PM, Sotirios Delimanolis <
> sotodel_89@yahoo.com> wrote:
>
> According to this Oracle document
> <https://blogs.oracle.com/g1gc/entry/g1_gc_glossary_of_terms>, GCLocker
> Initiated GC
>
> is triggered when a JNI critical region was released. GC is blocked
> when any thread is in the JNI Critical region.
> If GC was requested during that period, that GC is invoked after all
> the threads come out of the JNI critical region.
>
> What part of Cassandra's implementation does anything with JNI?
>
> In our GC logs, this is by far the most common reason for GC pauses.
>
>
>
>
> --
> http://twitter.com/tjake
>
>
>
--
http://twitter.com/tjake
Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated
GCs?
Posted by Sotirios Delimanolis <so...@yahoo.com>.
Should this be of any concern? Are the corresponding threads spending too long in this JNI critical region and delaying GC?
I don't get that impression at all from the GC log timings. They're very reasonable.
On Thursday, April 21, 2016 10:57 AM, Jake Luciani <ja...@gmail.com> wrote:
It's only used by the Snappy and LZ4 Compressors
On Thu, Apr 21, 2016 at 1:54 PM, Sotirios Delimanolis <so...@yahoo.com> wrote:
According to this Oracle document, GCLocker Initiated GC
is triggered when a JNI critical region was released. GC is blocked when any thread is in the JNI Critical region. If GC was requested during that period, that GC is invoked after all the threads come out of the JNI critical region.
What part of Cassandra's implementation does anything with JNI?
In our GC logs, this is by far the most common reason for GC pauses.
--
http://twitter.com/tjake
Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?
Posted by Jake Luciani <ja...@gmail.com>.
It's only used by the Snappy and LZ4 Compressors
On Thu, Apr 21, 2016 at 1:54 PM, Sotirios Delimanolis <so...@yahoo.com>
wrote:
> According to this Oracle document
> <https://blogs.oracle.com/g1gc/entry/g1_gc_glossary_of_terms>, GCLocker
> Initiated GC
>
> is triggered when a JNI critical region was released. GC is blocked
> when any thread is in the JNI Critical region.
> If GC was requested during that period, that GC is invoked after all
> the threads come out of the JNI critical region.
>
> What part of Cassandra's implementation does anything with JNI?
>
> In our GC logs, this is by far the most common reason for GC pauses.
>
>
--
http://twitter.com/tjake