Skip to content

Commit

Permalink
Use heap_chunks_to_scan_count only on multithreaded VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
feeley committed Apr 22, 2016
1 parent 19b315a commit a145121
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/stamp.h
Expand Up @@ -3,4 +3,4 @@
*/

#define ___STAMP_YMD 20160422
#define ___STAMP_HMS 215720
#define ___STAMP_HMS 222145
2 changes: 2 additions & 0 deletions lib/mem.c
Expand Up @@ -2895,7 +2895,9 @@ ___virtual_machine_state ___vms;)

nb_msections_assigned = n*2;

#ifndef ___SINGLE_THREADED_VMS
heap_chunks_to_scan_count = 0;
#endif

#undef ___VMSTATE_MEM
#define ___VMSTATE_MEM(var) ___VMSTATE_FROM_PSTATE(___ps)->mem.var
Expand Down

0 comments on commit a145121

Please sign in to comment.