Mercurial > hg > graal-compiler
diff src/share/vm/utilities/yieldingWorkgroup.hpp @ 7434:32164d89fe9c
8004845: Catch incorrect usage of new and delete during compile time for value objects and stack objects
Summary: Makes the "new" and "delete" operator of _ValueObj and StackObj private
Reviewed-by: dholmes, coleenp
Contributed-by: erik.helin@oracle.com
author | brutisso |
---|---|
date | Mon, 17 Dec 2012 15:25:26 +0100 |
parents | 441e946dc1af |
children | db9981fd3124 |
line wrap: on
line diff
--- a/src/share/vm/utilities/yieldingWorkgroup.hpp Mon Dec 17 08:49:20 2012 +0100 +++ b/src/share/vm/utilities/yieldingWorkgroup.hpp Mon Dec 17 15:25:26 2012 +0100 @@ -106,7 +106,7 @@ _status(INACTIVE), _gang(NULL) { } - virtual ~YieldingFlexibleGangTask() { } + ~YieldingFlexibleGangTask() { } friend class YieldingFlexibleWorkGang; friend class YieldingFlexibleGangWorker;