-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2592 Chunk leak #2605
2592 Chunk leak #2605
Conversation
6ebcde3
to
3d664f9
Compare
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
3d664f9
to
3a1de02
Compare
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
3a1de02
to
4b6a804
Compare
webserver/webserver/src/test/java/io/helidon/webserver/DataChunkReleaseTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor message change; otherwise LGTM
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
// look for ByteBufRequestChunk's leak detection records | ||
if (record.getLevel() == Level.WARNING && | ||
record.getMessage() | ||
.startsWith("LEAK: RequestChunk.release() was not called before it was garbage collected.")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one I assume needs to be the same as line 66?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No its different check and it has its own message, They just happens to have very similar but not exactly same messages. I am tracking both to be extra safe
@danielkec the new test seems to be failing intermittently, can you take a look ? |
Fixes #2592