Closed Bug 560276 Opened 14 years ago Closed 14 years ago

sampling testcase getSamples() can return Delete object samples after clearSamples()

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dschaffe, Unassigned)

Details

Attachments

(1 file)

from email treilly:
This test appears to be broken.    The assumption is that when sampling is paused we generate no samples but there is one exception which is that we generate deleted object samples b/c the objects may have been created when sampling was enabled.    B/c AddTestCase performs an allocation its possible for a GC activity to occur which can lead to deleted object samples.   Perhaps the test can be modified to check that there are no samples or that they are all deleted object samples.
added a patch not count DeleteObjectSample types in getSamples() after clearSamples()
Attachment #439977 - Flags: review?(treilly)
Attachment #439977 - Flags: review?(treilly) → review+
pushed in tr-argo: 4009:3a881efd8d52 tr: 4531:3a881efd8d52
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: