Bug 37378 - FastMalloc scavengerThread never destroyed
Summary: FastMalloc scavengerThread never destroyed
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-04-09 18:17 PDT by Benbuck Nason
Modified: 2010-04-12 07:30 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Benbuck Nason 2010-04-09 18:17:14 PDT
In JaveScriptCore/wtf/FastMalloc.cpp, a scavengerThread is created, but never destroyed.
Comment 1 Sam Weinig 2010-04-09 22:04:16 PDT
What is the bug you are reporting. This is expected behavior.
Comment 2 Alexey Proskuryakov 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.
Comment 3 Benbuck Nason 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?