jdk/src/jdk.attach/windows/native/libattach/VirtualMachineImpl.c
changeset 33653 c1ee09fe3274
parent 26969 ca3ea2ba7c86
equal deleted inserted replaced
32995:a62c89adce3d 33653:c1ee09fe3274
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    85  * Return codes from enqueue function executed in target VM
    85  * Return codes from enqueue function executed in target VM
    86  */
    86  */
    87 #define ERR_OPEN_JVM_FAIL           200
    87 #define ERR_OPEN_JVM_FAIL           200
    88 #define ERR_GET_ENQUEUE_FUNC_FAIL   201
    88 #define ERR_GET_ENQUEUE_FUNC_FAIL   201
    89 
    89 
       
    90 /*
       
    91  * Declare library specific JNI_Onload entry if static build
       
    92  */
       
    93 DEF_STATIC_JNI_OnLoad
    90 
    94 
    91 /*
    95 /*
    92  * Code copied to target process
    96  * Code copied to target process
    93  */
    97  */
    94 #pragma check_stack (off)
    98 #pragma check_stack (off)