Skip to content

Conversation

kpamnany
Copy link
Member

@kpamnany kpamnany commented Mar 2, 2023

Adds a useful GC statistic that counts the total time spent waiting for a safepoint.

Also fixes a typo from an earlier PR that added max_time_to_safepointp.

@gbaraldi
Copy link
Member

gbaraldi commented Mar 2, 2023

Maybe add a test?

@kpamnany
Copy link
Member Author

kpamnany commented Mar 2, 2023

There are no tests currently for any of the GC_Num statistics. Also, I don't see a way to verify correctness of any of the statistics. Tests that simply verify that the statistics are present/updated do not seem useful to me.

@gbaraldi
Copy link
Member

gbaraldi commented Mar 2, 2023

Fair enough. Doesn't this need to be reset/set.

@kpamnany
Copy link
Member Author

kpamnany commented Mar 2, 2023

Like total_mark_time and total_sweep_time, I believe this is zeroed here, and never reset.

@kpamnany
Copy link
Member Author

kpamnany commented Mar 2, 2023

@KristofferC: can this be backported to 1.9.0? One of the commits is sort of a bug fix.

@KristofferC
Copy link
Member

@KristofferC: can this be backported to 1.9.0? One of the commits is sort of a bug fix.

image

@kpamnany
Copy link
Member Author

kpamnany commented Mar 6, 2023

The test failure seems unrelated. Bump?

@kpamnany
Copy link
Member Author

kpamnany commented Mar 9, 2023

Now a Sockets failure. 🤯 Still unrelated I think.

@kpamnany
Copy link
Member Author

Okay, green now. Too many flaky tests!

Is this good then? Can we merge? And can we backport?

@DilumAluthge DilumAluthge requested a review from gbaraldi March 11, 2023 14:31
@DilumAluthge DilumAluthge added the don't squash Don't squash merge label Mar 11, 2023
@kpamnany
Copy link
Member Author

And can we backport it after all, @KristofferC, or was the meme intended to be a kind way to say "no!"? ;)

@vchuravy
Copy link
Member

vchuravy commented Mar 16, 2023

@DilumAluthge why the "don't squash"?

@kpamnany rebase is prefered over merge to update a branch to keep the history linear.

@DilumAluthge
Copy link
Member

One of the commits is sort of a bug fix.

So I figured we want to backport the single commit that is a bug fix, but we don't want to backport the entire PR.

@kpamnany
Copy link
Member Author

Bump.

@vchuravy vchuravy merged commit 3e96c76 into master Mar 21, 2023
@vchuravy vchuravy deleted the kp/add-gc-ttsp branch March 21, 2023 18:14
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request May 12, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Jun 7, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Jun 22, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Jun 29, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Jul 6, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Jul 27, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Aug 21, 2023
quinnj pushed a commit to RelationalAI/julia that referenced this pull request Sep 5, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Sep 28, 2023
Add GC stat: `total_time_to_safepoint`
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 1, 2023
Add GC stat: `total_time_to_safepoint`
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 12, 2023
Add GC stat: `total_time_to_safepoint`
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 14, 2023
Add GC stat: `total_time_to_safepoint`
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 17, 2023
Add GC stat: `total_time_to_safepoint`
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 18, 2023
Add GC stat: `total_time_to_safepoint`
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Oct 18, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Oct 19, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 20, 2023
kpamnany pushed a commit to RelationalAI/julia that referenced this pull request Oct 21, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Oct 23, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Nov 1, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Nov 2, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Nov 7, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Nov 10, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Nov 14, 2023
DelveCI pushed a commit to RelationalAI/julia that referenced this pull request Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
don't squash Don't squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants