Closed Bug 1145924 Opened 10 years ago Closed 10 years ago

JSRuntime::updateProfilerSampleBufferGen isn't monotonic increasing

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: shu, Unassigned)

References

Details

Attachments

(1 file)

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.
Blocks: jit-view
Attachment #8581040 - Flags: review?(kvijayan)
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+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: