Skip to content

Commit

Permalink
Merge pull request ocaml#13148 from stedolan/statmemprof-testsuite-ro…
Browse files Browse the repository at this point in the history
…bustness-2

Improve robustness of statmemprof testsuite (a bit more)

(cherry picked from commit 6fb644c)
  • Loading branch information
gasche authored and NickBarnes committed May 21, 2024
1 parent a325a0c commit 0f51c47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testsuite/tests/statmemprof/moved_while_blocking.ml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ let global = ref static_ref
let thread_fn () =
await t2_begin;
say "T2: alloc\n";
let r = ref 0 in
global := r;
global := ref 0;
say "T2: minor GC\n";
Gc.minor ();
global := static_ref;
Expand Down

0 comments on commit 0f51c47

Please sign in to comment.