JavaScript/HandlingThreads: Difference between revisions

No edit summary
Line 74: Line 74:
'''Advantages:''' Immediate restoration of 100% compatibility.
'''Advantages:''' Immediate restoration of 100% compatibility.


'''Disadvantages:''' Unsound. Will affect per-compartment GC. Performance loss (1%? 7% on V8?). Maintenance and complexity cost, loss of a nice simplification. Can't move the property tree per-thread. We might be able to hang on to per-compartment GC for compartments that never do cross-thread access though.
'''Disadvantages:''' Unsound. Will affect per-compartment GC. Performance loss (according to jorendorff in {{bug|606029}}, 8% on some V8 tests without affecting the number of GCs). Maintenance and complexity cost, loss of a nice simplification. Can't move the property tree per-thread. We might be able to hang on to per-compartment GC for compartments that never do cross-thread access though.


= Example Users =
= Example Users =
638

edits