Where is the ParNew STW time in the gc log file
I found the following gc log line from my gc log file:
2018-11-07T21:55:09.396+0000: 79480.126: [GC (Allocation Failure) 79480.126: [ParNew
Desired survivor size 1610612736 bytes, new threshold 7 (max 7)
- age 1: 13609280 bytes, 13609280 total
- age 2: 246216 bytes, 13855496 total
- age 3: 283904 bytes, 14139400 total
- age 4: 857376 bytes, 14996776 total
- age 5: 231944 bytes, 15228720 total
- age 6: 53288 bytes, 15282008 total
- age 7: 39328 bytes, 15321336 total
: 18894951K->21273K(22020096K), 0.0221053 secs] 19795496K-
>922082K(26214400K), 0.3470757 secs] [Times: user=0.39 sys=0.13,
real=0.34 secs]
2018-11-07T21:55:09.743+0000: 79480.473: Total time for which
application threads were stopped: 0.3493143 seconds
There are two numbers: 0.0221053 secs and 0.3470757 secs. Which one is the ParNew STW time? Why do those two numbers have such a big difference. For other gc log lines, these two numbers are almost the same.
java garbage-collection
add a comment |
I found the following gc log line from my gc log file:
2018-11-07T21:55:09.396+0000: 79480.126: [GC (Allocation Failure) 79480.126: [ParNew
Desired survivor size 1610612736 bytes, new threshold 7 (max 7)
- age 1: 13609280 bytes, 13609280 total
- age 2: 246216 bytes, 13855496 total
- age 3: 283904 bytes, 14139400 total
- age 4: 857376 bytes, 14996776 total
- age 5: 231944 bytes, 15228720 total
- age 6: 53288 bytes, 15282008 total
- age 7: 39328 bytes, 15321336 total
: 18894951K->21273K(22020096K), 0.0221053 secs] 19795496K-
>922082K(26214400K), 0.3470757 secs] [Times: user=0.39 sys=0.13,
real=0.34 secs]
2018-11-07T21:55:09.743+0000: 79480.473: Total time for which
application threads were stopped: 0.3493143 seconds
There are two numbers: 0.0221053 secs and 0.3470757 secs. Which one is the ParNew STW time? Why do those two numbers have such a big difference. For other gc log lines, these two numbers are almost the same.
java garbage-collection
add a comment |
I found the following gc log line from my gc log file:
2018-11-07T21:55:09.396+0000: 79480.126: [GC (Allocation Failure) 79480.126: [ParNew
Desired survivor size 1610612736 bytes, new threshold 7 (max 7)
- age 1: 13609280 bytes, 13609280 total
- age 2: 246216 bytes, 13855496 total
- age 3: 283904 bytes, 14139400 total
- age 4: 857376 bytes, 14996776 total
- age 5: 231944 bytes, 15228720 total
- age 6: 53288 bytes, 15282008 total
- age 7: 39328 bytes, 15321336 total
: 18894951K->21273K(22020096K), 0.0221053 secs] 19795496K-
>922082K(26214400K), 0.3470757 secs] [Times: user=0.39 sys=0.13,
real=0.34 secs]
2018-11-07T21:55:09.743+0000: 79480.473: Total time for which
application threads were stopped: 0.3493143 seconds
There are two numbers: 0.0221053 secs and 0.3470757 secs. Which one is the ParNew STW time? Why do those two numbers have such a big difference. For other gc log lines, these two numbers are almost the same.
java garbage-collection
I found the following gc log line from my gc log file:
2018-11-07T21:55:09.396+0000: 79480.126: [GC (Allocation Failure) 79480.126: [ParNew
Desired survivor size 1610612736 bytes, new threshold 7 (max 7)
- age 1: 13609280 bytes, 13609280 total
- age 2: 246216 bytes, 13855496 total
- age 3: 283904 bytes, 14139400 total
- age 4: 857376 bytes, 14996776 total
- age 5: 231944 bytes, 15228720 total
- age 6: 53288 bytes, 15282008 total
- age 7: 39328 bytes, 15321336 total
: 18894951K->21273K(22020096K), 0.0221053 secs] 19795496K-
>922082K(26214400K), 0.3470757 secs] [Times: user=0.39 sys=0.13,
real=0.34 secs]
2018-11-07T21:55:09.743+0000: 79480.473: Total time for which
application threads were stopped: 0.3493143 seconds
There are two numbers: 0.0221053 secs and 0.3470757 secs. Which one is the ParNew STW time? Why do those two numbers have such a big difference. For other gc log lines, these two numbers are almost the same.
java garbage-collection
java garbage-collection
asked Nov 12 at 1:43
jjyao
100415
100415
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255029%2fwhere-is-the-parnew-stw-time-in-the-gc-log-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255029%2fwhere-is-the-parnew-stw-time-in-the-gc-log-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown