comparison src/share/vm/utilities/workgroup.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 f34d701e952e
children 6f817ce50129
comparison
equal deleted inserted replaced
7433:730cc4ddd550 7434:32164d89fe9c
88 AbstractGangTask(const char* name) 88 AbstractGangTask(const char* name)
89 { 89 {
90 NOT_PRODUCT(_name = name); 90 NOT_PRODUCT(_name = name);
91 _counter = 0; 91 _counter = 0;
92 } 92 }
93 virtual ~AbstractGangTask() { } 93 ~AbstractGangTask() { }
94 94
95 public: 95 public:
96 }; 96 };
97 97
98 class AbstractGangTaskWOopQueues : public AbstractGangTask { 98 class AbstractGangTaskWOopQueues : public AbstractGangTask {