* include/jvm.h (_Jv_JVMTI_Init): Declare.
authorkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Sep 2006 17:42:23 +0000 (17:42 +0000)
committerkseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Sep 2006 17:42:23 +0000 (17:42 +0000)
commitf0e803b6e10300e10cde31051ef77dec839d7162
tree14cb0bf672d27c20af811784d0d98343be4498ff
parent7229d1d3e78b68f38a594eec415f3ac07c2ef082
    * include/jvm.h (_Jv_JVMTI_Init): Declare.
        * jvmti.cc (_Jv_JVMTI_Init): New function.
        * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.

        * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
        (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.

        * jvmti.cc (_jvmtiEnvironments): New linked list of
        JVMTI environments.
        (FOREACH_ENVIRONMENT): New macro.
        (_envListLock): New object to act as synchronization lock
        for _jvmtiEnvironments.
        (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
        Remove the environment from the list of known environments.
        (_Jv_GetJVMTIEnv): Add the new environment to the list
        of known environments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116635 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/include/jvm.h
libjava/jvmti.cc
libjava/prims.cc