Closed Bug 564618 Opened 14 years ago Closed 13 years ago

access-nbody aborts causing slowdowns, allocator thrashing

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sayrer, Unassigned)

Details

Attachments

(1 file)

I noticed that we spend 6.6% of access-nbody in the kernel. The Shark Malloc Trace is pretty damning.
Check out that sine wave at the bottom. Bad news. I'll upload the .mshark in a sec.
Depends on: 558451
I wonder if jemalloc does better -- not an issue once per-object scopes are gone, but worth a quick check?

/be
(In reply to comment #3)
> I wonder if jemalloc does better -- not an issue once per-object scopes are
> gone, but worth a quick check?

Scopes are the problem in access-binary-trees. 

This profile is of access-nbody, and it's mostly traffic from nanojit and js::TraceRecorder
Oops, I did load this in Shark, thought I saw js_GetMutableScope hot again.

Want to file dependent bugs?

/be
(In reply to comment #5)
> Oops, I did load this in Shark, thought I saw js_GetMutableScope hot again.

Oh, duh. I linked the wrong file in comment 2. that explains why you saw js_GetMutableScope.
No longer depends on: 558451
Obsolete with the removal of tracejit.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: