diff options
author | coleenp <none@none> | 2013-08-29 18:56:29 -0400 |
---|---|---|
committer | coleenp <none@none> | 2013-08-29 18:56:29 -0400 |
commit | 0e72bba23f7213524fbb67da6a976577763d1db3 (patch) | |
tree | 06738b9b571b95b8e4be61a9cdba549213052e79 /src/share/vm/opto/node.hpp | |
parent | 003abc77c95ff3d90cd4510a0d9f6b74f55228ea (diff) |
8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Summary: declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification
Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
Contributed-by: lois.foltan@oracle.com
Diffstat (limited to 'src/share/vm/opto/node.hpp')
-rw-r--r-- | src/share/vm/opto/node.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/opto/node.hpp b/src/share/vm/opto/node.hpp index 0690d21b1..37edb1450 100644 --- a/src/share/vm/opto/node.hpp +++ b/src/share/vm/opto/node.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -211,7 +211,7 @@ public: // New Operator that takes a Compile pointer, this will eventually // be the "new" New operator. - inline void* operator new( size_t x, Compile* C) { + inline void* operator new( size_t x, Compile* C) throw() { Node* n = (Node*)C->node_arena()->Amalloc_D(x); #ifdef ASSERT n->_in = (Node**)n; // magic cookie for assertion check |