Diff of /src/runtime/gencgc.c [4af254] .. [3d19a6]  Maximize  Restore

  Switch to unified view

a/src/runtime/gencgc.c b/src/runtime/gencgc.c
...
...
67
/* Should we use page protection to help avoid the scavenging of pages
67
/* Should we use page protection to help avoid the scavenging of pages
68
 * that don't have pointers to younger generations? */
68
 * that don't have pointers to younger generations? */
69
boolean enable_page_protection = 1;
69
boolean enable_page_protection = 1;
70
70
71
/* Should we unmap a page and re-mmap it to have it zero filled? */
71
/* Should we unmap a page and re-mmap it to have it zero filled? */
72
#if defined(__FreeBSD__) || defined(__OpenBSD__)
72
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
73
/* comment from cmucl-2.4.8: This can waste a lot of swap on FreeBSD
73
/* comment from cmucl-2.4.8: This can waste a lot of swap on FreeBSD
74
 * so don't unmap there.
74
 * so don't unmap there.
75
 *
75
 *
76
 * The CMU CL comment didn't specify a version, but was probably an
76
 * The CMU CL comment didn't specify a version, but was probably an
77
 * old version of FreeBSD (pre-4.0), so this might no longer be true.
77
 * old version of FreeBSD (pre-4.0), so this might no longer be true.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks