JVMPI agent implementation to report jitted JVM code to OProfile. More...
#include <iostream>#include <map>#include <string>#include <cstring>#include <stdexcept>#include <cerrno>#include <stdint.h>#include <jvmpi.h>#include <opagent.h>
Classes | |
| class | class_details |
Functions | |
| void | class_load (JVMPI_Event *event) |
| void | class_unload (JVMPI_Event *event) |
| void | compiled_method_load (JVMPI_Event *event) |
| void | compiled_method_unload (JVMPI_Event *event) |
| void | jvm_shutdown (JVMPI_Event *event) |
| void | jvm_notify_event (JVMPI_Event *event) |
| JNIEXPORT jint JNICALL | JVM_OnLoad (JavaVM *jvm, char *options, void *reserved) |
Variables | |
| JVMPI_Interface * | jvmpi |
JVMPI agent implementation to report jitted JVM code to OProfile.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright IBM Corporation 2007
| void class_load | ( | JVMPI_Event * | event | ) |
References class_details::method_names, class_details::method_signatures, and class_details::name.
Referenced by jvm_notify_event().
| void class_unload | ( | JVMPI_Event * | event | ) |
Referenced by jvm_notify_event().
| void compiled_method_load | ( | JVMPI_Event * | event | ) |
References jvmpi, class_details::method_names, class_details::method_signatures, class_details::name, and op_write_native_code().
Referenced by jvm_notify_event().
| void compiled_method_unload | ( | JVMPI_Event * | event | ) |
References op_unload_native_code().
Referenced by jvm_notify_event().
| void jvm_notify_event | ( | JVMPI_Event * | event | ) |
References class_load(), class_unload(), compiled_method_load(), compiled_method_unload(), and jvm_shutdown().
Referenced by JVM_OnLoad().
| JNIEXPORT jint JNICALL JVM_OnLoad | ( | JavaVM * | jvm, | |
| char * | options, | |||
| void * | reserved | |||
| ) |
References jvm_notify_event(), jvmpi, op_major_version(), op_minor_version(), and op_open_agent().
| void jvm_shutdown | ( | JVMPI_Event * | event | ) |
References op_close_agent().
Referenced by jvm_notify_event().
| JVMPI_Interface* jvmpi |
Referenced by compiled_method_load(), and JVM_OnLoad().
1.6.1