Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/methodOop.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 | 94ec88ca68e2 |
children | 33df1aeaebbf 2fe087c3e814 e2fe93124108 |
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. |
401 // native function (used for native methods only) | 401 // native function (used for native methods only) |
402 enum { | 402 enum { |
403 native_bind_event_is_interesting = true | 403 native_bind_event_is_interesting = true |
404 }; | 404 }; |
405 address native_function() const { return *(native_function_addr()); } | 405 address native_function() const { return *(native_function_addr()); } |
406 address critical_native_function(); | |
407 | |
406 // Must specify a real function (not NULL). | 408 // Must specify a real function (not NULL). |
407 // Use clear_native_function() to unregister. | 409 // Use clear_native_function() to unregister. |
408 void set_native_function(address function, bool post_event_flag); | 410 void set_native_function(address function, bool post_event_flag); |
409 bool has_native_function() const; | 411 bool has_native_function() const; |
410 void clear_native_function(); | 412 void clear_native_function(); |