comparison src/share/vm/runtime/sharedRuntime.hpp @ 4873:0382d2b469b2

7013347: allow crypto functions to be called inline to enhance performance Reviewed-by: kvn
author never
date Wed, 01 Feb 2012 16:57:08 -0800
parents 7588156f5cf9
children 33df1aeaebbf d2a62e0f25eb
comparison
equal deleted inserted replaced
4872:aa3d708d67c4 4873:0382d2b469b2
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,