prims.cc (JVMPI_NOTIFY_ALLOC): New macro.
authorBryce McKinlay <mckinlay@redhat.com>
Mon, 23 Aug 2004 21:31:53 +0000 (21:31 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 23 Aug 2004 21:31:53 +0000 (22:31 +0100)
commit8ba141520c44ab720084dbdf3e07a9015a05dc17
tree63ee6cc87d5f38db63ea59e74a4ea7bfac9ac15d
parent0039c16d35e8f9bd92a4ca170bd39b09ca62d348
prims.cc (JVMPI_NOTIFY_ALLOC): New macro.

2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>

* prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
only if jvmpi is enabled.
(jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
(_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
(_Jv_AllocString): Likewise.
(_Jv_AllocPtrFreeObject): Likewise.

From-SVN: r86441
libjava/ChangeLog
libjava/prims.cc