equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, 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. |
7 * published by the Free Software Foundation. |
459 int total_args_passed, |
459 int total_args_passed, |
460 int max_arg, |
460 int max_arg, |
461 BasicType *sig_bt, |
461 BasicType *sig_bt, |
462 VMRegPair *regs, |
462 VMRegPair *regs, |
463 BasicType ret_type ); |
463 BasicType ret_type ); |
|
464 |
|
465 // Block before entering a JNI critical method |
|
466 static void block_for_jni_critical(JavaThread* thread); |
464 |
467 |
465 #ifdef HAVE_DTRACE_H |
468 #ifdef HAVE_DTRACE_H |
466 // Generate a dtrace wrapper for a given method. The method takes arguments |
469 // Generate a dtrace wrapper for a given method. The method takes arguments |
467 // in the Java compiled code convention, marshals them to the native |
470 // in the Java compiled code convention, marshals them to the native |
468 // convention (handlizes oops, etc), transitions to native, makes the call, |
471 // convention (handlizes oops, etc), transitions to native, makes the call, |