<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - GC timers stop to work when Heap claims it grew"
href="https://bugs.webkit.org/show_bug.cgi?id=164472">164472</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>GC timers stop to work when Heap claims it grew
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>JavaScriptCore
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>valkov@yandex.ru
</td>
</tr></table>
<p>
<div>
<pre>Due to <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - GC timers should carry on gracefully when Heap claims it grew from GC."
href="show_bug.cgi?id=151521">https://bugs.webkit.org/show_bug.cgi?id=151521</a>
when deathRate() now returns 0 (when heap reported that e.g. m_sizeAfterLastEdenCollect > m_sizeBeforeLastEdenCollect or m_sizeAfterLastFullCollect > m_sizeBeforeLastFullCollect after garbage collecting)
GCActivityCallback::didAllocate uses
double bytesExpectedToReclaim = static_cast<double>(bytes) * deathRate();
double newDelay = lastGCLength() / gcTimeSlice(bytesExpectedToReclaim);
scheduleTimer(newDelay);
which causes newDelay to be positive inf.
GCActivityCallback::scheduleTimer configures the timer to std::chrono::microseconds::max();
and the timer never invoked.</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>