<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Raymond Toy pushed to branch master
at <a href="https://gitlab.common-lisp.net/cmucl/cmucl">cmucl / cmucl</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/a5805ca073019b470b8b21ac7ae5e0ebf0843bab">a5805ca0</a></strong>
<div>
<span>by Raymond Toy</span>
<i>at 2016-01-06T21:00:07Z</i>
</div>
<pre class='commit-message'>If -dynamic-space-size is 0, use the max heap.
If the user specifies -dynamic-space-size 0, then use the
platform-specific maximum heap size.
Update the docstring for the switch too.</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/code/commandline.lisp
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
src/lisp/lisp.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.common-lisp.net/cmucl/cmucl/commit/a5805ca073019b470b8b21ac7ae5e0ebf0843bab#diff-0'>
<strong>
src/code/commandline.lisp
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/code/commandline.lisp
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/code/commandline.lisp
</span><span style="color: #aaaaaa">@@ -283,8 +283,9 @@
</span>
(defswitch "dynamic-space-size" nil
"Specifies the number of megabytes that should be allocated to the
<span style="color: #000000;background-color: #ffdddd">- heap. If not specified, a platform-specific default is used. The
- actual maximum allowed heap size is platform-specific."
</span><span style="color: #000000;background-color: #ddffdd">+ heap. If not specified, a platform-specific default is used. If 0,
+ the platform-specific maximum heap size is used. The actual maximum
+ allowed heap size is platform-specific."
</span> "megabytes")
(defswitch "read-only-space-size" nil
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.common-lisp.net/cmucl/cmucl/commit/a5805ca073019b470b8b21ac7ae5e0ebf0843bab#diff-1'>
<strong>
src/lisp/lisp.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/lisp/lisp.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/lisp/lisp.c
</span><span style="color: #aaaaaa">@@ -622,7 +622,16 @@ main(int argc, const char *argv[], const char *envp[])
</span> exit(1);
}
#ifndef sparc
<span style="color: #000000;background-color: #ffdddd">- dynamic_space_size = atoi(str) * 1024 * 1024;
</span><span style="color: #000000;background-color: #ddffdd">+ dynamic_space_size = atoi(str);
+
+ /*
+ * A size of 0 means using the largest possible space
+ */
+ if (dynamic_space_size == 0) {
+ dynamic_space_size = DYNAMIC_SPACE_SIZE;
+ } else {
+ dynamic_space_size *= 1024 * 1024;
+ }
</span> #else
{
int val;
<span style="color: #aaaaaa">@@ -646,6 +655,9 @@ main(int argc, const char *argv[], const char *envp[])
</span> "Note: Rounding dynamic-space-size from %d MB to %d MB\n",
val, dynamic_space_size);
}
<span style="color: #000000;background-color: #ddffdd">+ if (dynamic_space_size == 0) {
+ dynamic_space_size = DYNAMIC_SPACE_SIZE;
+ }
</span> dynamic_space_size *= 1024 * 1024;
}
#endif
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/a5805ca073019b470b8b21ac7ae5e0ebf0843bab">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.common-lisp.net.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.common-lisp.net/cmucl/cmucl/commit/a5805ca073019b470b8b21ac7ae5e0ebf0843bab"}}</script>
</p>
</div>
</body>
</html>