OSDN Git Service

Do not merge.
authorPatrick Scott <phanna@android.com>
Tue, 28 Jul 2009 18:44:16 +0000 (14:44 -0400)
committerPatrick Scott <phanna@android.com>
Tue, 28 Jul 2009 19:22:50 +0000 (15:22 -0400)
commit173247db5500c88f7a7229fd20fb49ebd2d49296
tree60b61c7db8da953773114faeab3723ba0f65313a
parent70522f5f5fb44f2f4df7a08aa64263c619e299cb
Do not merge.

This will attach and detach the native thread to and from the java vm. I believe
this was the cause of a crash in donut. Sometimes, the IconDatabase needs to
notify the WebCore thread of a new Icon. These callbacks post messages through
the vm which causes AttachCurrentThread to be called but no matching
DetachCurrentThread when the thread exits.

Bug:1977972
JavaScriptCore/wtf/ThreadingPthreads.cpp