Skip to content
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

scheduled cleaning in javatraces , and add null pointer checking #514

Merged
merged 23 commits into from
Sep 1, 2023

Conversation

hwz779866221
Copy link
Collaborator

Description

Now javatrace will regularly clean up the space, and users can configure expiration time and cleanup interval through the configuration file.
Fixed a bug in javatrace that could cause a null pointer and crash.

Related Issue

When detecting middleware similar to ShardingSphere, javatrace will experience null pointer crashes in cpuanalyzer.
Due to the lack of scheduled cleaning in javatrace, it may cause memory leaks.

Motivation and Context

Added null pointer checking in analyzerJavaTraceTime.
Scheduled cleaning has been configured in javatrace, and related parameters can be configured in kindling-collector-config.yml.

Hui added 2 commits April 27, 2023 21:00
Signed-off-by: Hui <anthonyhui@126.com>
…ure expiration time and cleanup interval through the configuration file.Fixed a bug in javatrace that could cause a null pointer and crash.

Signed-off-by: Hui <anthonyhui@126.com>
Hui and others added 3 commits May 11, 2023 13:41
Signed-off-by: AnthonyHui <48346142+hwz779866221@users.noreply.github.com>
Signed-off-by: AnthonyHui <48346142+hwz779866221@users.noreply.github.com>
Signed-off-by: Hui <anthonyhui@126.com>
dxsup
dxsup previously approved these changes May 19, 2023
Hui added 6 commits May 23, 2023 16:49
Signed-off-by: Hui <anthonyhui@126.com>
Signed-off-by: Hui <anthonyhui@126.com>
Signed-off-by: Hui <anthonyhui@126.com>
@dxsup
Copy link
Member

dxsup commented May 31, 2023

Please use gofmt to format your changes.

@dxsup dxsup merged commit c9d4476 into KindlingProject:main Sep 1, 2023
5 checks passed
dxsup pushed a commit to dxsup/kindling that referenced this pull request Sep 1, 2023
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants