Bug 37378

Summary: FastMalloc scavengerThread never destroyed
Product: WebKit Reporter: Benbuck Nason <bnason>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ap, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   

Benbuck Nason
Reported 2010-04-09 18:17:14 PDT
In JaveScriptCore/wtf/FastMalloc.cpp, a scavengerThread is created, but never destroyed.
Attachments
Sam Weinig
Comment 1 2010-04-09 22:04:16 PDT
What is the bug you are reporting. This is expected behavior.
Alexey Proskuryakov
Comment 2 2010-04-10 00:01:20 PDT
WebKit is not designed to be unloaded from a running applications, there are lots of reasons why this doesn't work. Please feel free to reopen if I misunderstood your report, and there is a bug to be fixed.
Benbuck Nason
Comment 3 2010-04-12 07:30:59 PDT
I'm sure for most cases this is not a problem at all, but on the platform I am porting to, the pthread implementation will not exit until all threads have been destroyed. It seems like it would be pretty easy to add a way to shut down the scavenger thread, is there a reason not to do this?
Note You need to log in before you can comment on or make changes to this bug.