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

UI improvement, User can specify more options at memory dump analysis scene & changing setting is cancelable after open the settings pannel. #242

Merged
merged 5 commits into from
Dec 14, 2023

Conversation

XuPengfei-1020
Copy link
Contributor

1. User can specify more options at memory dump analysis scene.

Analyse could be faild caused by OOM(exceed limit of maximum length of array) if the dump file is very large. This problem can be solved by specify discard-object options. see: Eclipse help .
Improve UI so user can specify those options.

2. UI improvement, user can cancel changing the settings (re-analysis dump file) after they open the setting panel in dump analysis scene.

before: dump analysis cache will dispose once user click 'Setting' button, it does not make sense.
now: dispose and re-analyse will performd sequencely only after use submit the new settings, but if user click the 'cancel' button after open the settins pannel, the pannel will closed and nothing else would happend.

@XuPengfei-1020
Copy link
Contributor Author

  1. Support more options.
image image
  1. Add cancel button, user can cancel re-analyze if they want.
image

@D-D-H
Copy link
Contributor

D-D-H commented Nov 30, 2023

@XuPengfei-1020
Thanks for the contribution.
Please sign the eca.

I'll review this patch this week.

Copy link
Contributor

@y1yang0 y1yang0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice addition. There are some general comments:

  • Capitalize first letter in analysis setting panel
  • Can we remove this discard button in analysis bar? It looks inconsistent in functionality
    with other buttons in that menu bar

@XuPengfei-1020
Copy link
Contributor Author

Update:

  • Signed the eca.
  • Capitalize first letter in analysis setting panel.
  • Remove 'Discard' button. User can re-analyse the dump file by click 'Setting' button, or discard dump file and analysis cache in file-manage page. The 'Discard' button is redundant, you are right.

We used the jifa to parse the super large dump files on linux server several times, it helpe us to location the rare memory lake point in our production environment.
Thinks! Great tool!

…hers additional options in dump analysis scene
… file) after they open the setting panel in dump analysis scene.

    before: dump analysis cache will dispose once user click 'Setting' button, it does not make sense.
    now: dispose and re-analyse will performd sequencely only after use submit the new settings, but if user click the 'cancel' button after open the settins pannel, the pannel will closed and nothing else would happend.
@D-D-H D-D-H merged commit 1dc0b2d into eclipse-jifa:main Dec 14, 2023
2 checks passed
@D-D-H
Copy link
Contributor

D-D-H commented Dec 14, 2023

Merged. Thanks for the contribution.

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.

3 participants