Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable SC barrier around class cache flush.
  • Loading branch information
jnthn committed Jan 24, 2014
1 parent 7494c58 commit 080ce0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/how/NQPClassHOW.nqp
Expand Up @@ -742,7 +742,9 @@ knowhow NQPClassHOW {
}

method flush_cache($obj) {
%!caches := {} unless nqp::isnull(%!caches)
nqp::scwbdisable();
%!caches := {} unless nqp::isnull(%!caches);
nqp::scwbenable();
}

##
Expand Down

0 comments on commit 080ce0b

Please sign in to comment.