Closed
Bug 1145924
Opened 10 years ago
Closed 10 years ago
JSRuntime::updateProfilerSampleBufferGen isn't monotonic increasing
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: shu, Unassigned)
References
Details
Attachments
(1 file)
8.33 KB,
patch
|
djvj
:
review+
|
Details | Diff | Splinter Review |
I think this is causing weird GC crashes, since our friends the SyncProfiles, with their own ProfileBuffers, can reset a runtime's generation back to 0.
Reporter | ||
Comment 1•10 years ago
|
||
Attachment #8581040 -
Flags: review?(kvijayan)
Comment 2•10 years ago
|
||
Comment on attachment 8581040 [details] [diff] [review]
Ensure JSRuntime is kept in sync with the profiler.
Review of attachment 8581040 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/JitcodeMap.h
@@ +600,5 @@
> }
> void setGeneration(uint32_t gen) {
> baseEntry().setGeneration(gen);
> }
> + void setAsExpired() {
Nice.
Attachment #8581040 -
Flags: review?(kvijayan) → review+
Comment 3•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•