<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - MemoryPressureHandler doesn't work if cgroups aren't present in Linux"
href="https://bugs.webkit.org/show_bug.cgi?id=155255#c32">Comment # 32</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - MemoryPressureHandler doesn't work if cgroups aren't present in Linux"
href="https://bugs.webkit.org/show_bug.cgi?id=155255">bug 155255</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=155255#c29">comment #29</a>)
<span class="quote">> Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=282544&action=diff" name="attach_282544" title="Different approach">attachment 282544</a> <a href="attachment.cgi?id=282544&action=edit" title="Different approach">[details]</a></span>
> Different approach
>
> Looks good to me in general, but the mix of negative numbers and size_t is a
> bit shocking to me.</span >
We can make the code a bit better by using a macro or global variable like DFGValidate or Vector do:
#define notSet (static_cast<size_t>(-1))
const size_t notFound = static_cast<size_t>(-1);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>