Status: New Owner: ---- New issue 1828 by [email protected]: Remove exit time destructors from v8 http://code.google.com/p/v8/issues/detail?id=1828
Exit time destructors are like static initializers in reverse: Nondeterministic execution order; they cause code to be swapped in at inopportune times (program startup / shutdown); they can be racy when accessed from several threads.
http://code.google.com/p/chromium/issues/detail?id=101600#c15 contains a list of possible patterns to remove them.
Here's the list of exit time destructors in the version of v8 used by chromium:
v8/src/ast.cc:896:26: warning: declaration requires an exit-time destructor [-Wexit-time-destructors] v8/src/elements.cc:821:5: warning: declaration requires an exit-time destructor [-Wexit-time-destructors] v8/src/extensions/gc-extension.cc:49:22: warning: declaration requires an exit-time destructor [-Wexit-time-destructors] v8/src/hashmap.cc:39:20: warning: declaration requires an exit-time destructor [-Wexit-time-destructors] v8/src/parser.h:688:41: warning: declaration requires an exit-time destructor [-Wexit-time-destructors] v8/src/scopes.cc:58:22: warning: declaration requires an exit-time destructor [-Wexit-time-destructors]
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
