< prev index next >
src/java.instrument/share/native/libinstrument/Utilities.h
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 2007, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2003, 2015, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 30,39 ****
--- 30,46 ----
#ifndef _UTILITIES_H_
#define _UTILITIES_H_
#include <jni.h>
#include <jvmti.h>
+ #include "jni_util.h"
+
+ #ifdef STATIC_BUILD
+ #define allocate instAllocate
+ #define deallocate instDeallocate
+ #endif
+
#ifdef __cplusplus
extern "C" {
#endif
< prev index next >