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

support gc helper #7

Merged
merged 2 commits into from
Jan 17, 2022
Merged

support gc helper #7

merged 2 commits into from
Jan 17, 2022

Conversation

WangXiangUSTC
Copy link
Collaborator

@WangXiangUSTC WangXiangUSTC commented Jan 17, 2022

Signed-off-by: xiang xiang13225080@163.com

GCHelper

GCHelper is a Byteman's User-Defined Rule Helper, which used to trigger garbage collection in JVM.

Example

RULE gc test
CLASS org.chaos_mesh.chaos_agent.TriggerThread
METHOD triggerFunc
HELPER org.chaos_mesh.byteman.helper.GCHelper
AT ENTRY
IF true
DO
    gc();
ENDRULE

Signed-off-by: xiang <xiang13225080@163.com>
Signed-off-by: xiang <xiang13225080@163.com>
@WangXiangUSTC WangXiangUSTC merged commit 4cb505a into main Jan 17, 2022
@WangXiangUSTC WangXiangUSTC deleted the gc_helper branch January 17, 2022 07:06
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.

None yet

1 participant