[Webkit-unassigned] [Bug 133572] Using --recordGCPauseTimes=true causes a crash in jsc.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 18 11:15:11 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=133572





--- Comment #9 from Geoffrey Garen <ggaren at apple.com>  2014-06-18 11:15:33 PST ---
(From update of attachment 233306)
View in context: https://bugs.webkit.org/attachment.cgi?id=233306&action=review

> Source/JavaScriptCore/jsc.cpp:1251
> +    static std::once_flag optionDependentInitOnceFlag;
> +    std::call_once(optionDependentInitOnceFlag, [] {

Since this is main, there's no need for call_once-style thread-safety.

> Source/JavaScriptCore/runtime/InitializeThreading.cpp:-62
> -        if (Options::recordGCPauseTimes())
> -            HeapStatistics::initialize();

I don't think we want to remove this from the generic initialization path, because that would make it not work in WebKit.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list