[SERVER-7989] v8's ContextSwitcher::PreemptionReceieved() may check the wrong isolate Created: 20/Dec/12  Updated: 11/Jul/16  Resolved: 20/Dec/12

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 2.3.2
Fix Version/s: 2.3.2

Type: Bug Priority: Major - P3
Reporter: Ben Becker Assignee: Ben Becker
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-7776 Review v8 preemption mechanism Closed
Operating System: ALL
Participants:

 Description   

In v8thread.cc, ContextSwitcher::PreemptionReceived() is called from the target
thread (as opposed to the ContextSwitcher thread), yet it was asserting the
wrong isolate was locked.

Some details are here, although they do not confirm the issue with PreemptionReceived:

http://code.google.com/p/v8/issues/detail?id=1427



 Comments   
Comment by auto [ 20/Dec/12 ]

Author:

{u'date': u'2012-12-20T06:43:10Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}

Message: SERVER-7989: ContextSwitcher::PreemptionReceived() was checking the default isolate
Branch: master
https://github.com/mongodb/mongo/commit/adc44996ffdedbc549d4c99c723bf5f162f62c77

Generated at Thu Feb 08 03:16:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.