Mercurial > hg > graal-compiler
comparison src/share/vm/services/memBaseline.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 | 716c64bda5ba |
children | b80cc96882f7 |
comparison
equal
deleted
inserted
replaced
7433:730cc4ddd550 | 7434:32164d89fe9c |
---|---|
332 | 332 |
333 public: | 333 public: |
334 // create a memory baseline | 334 // create a memory baseline |
335 MemBaseline(); | 335 MemBaseline(); |
336 | 336 |
337 virtual ~MemBaseline(); | 337 ~MemBaseline(); |
338 | 338 |
339 inline bool baselined() const { | 339 inline bool baselined() const { |
340 return _baselined; | 340 return _baselined; |
341 } | 341 } |
342 | 342 |