Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.hpp @ 4970:33df1aeaebbf
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 13:10:13 +0100 |
parents | ef00461e29af 0382d2b469b2 |
children | 2f2c6347fce4 |
comparison
equal
deleted
inserted
replaced
4703:2cfb7fb2dce7 | 4970:33df1aeaebbf |
---|---|
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. |
175 bool _unload_reported; | 175 bool _unload_reported; |
176 | 176 |
177 // set during construction | 177 // set during construction |
178 unsigned int _has_unsafe_access:1; // May fault due to unsafe access. | 178 unsigned int _has_unsafe_access:1; // May fault due to unsafe access. |
179 unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes? | 179 unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes? |
180 unsigned int _lazy_critical_native:1; // Lazy JNI critical native | |
180 | 181 |
181 // Protected by Patching_lock | 182 // Protected by Patching_lock |
182 unsigned char _state; // {alive, not_entrant, zombie, unloaded} | 183 unsigned char _state; // {alive, not_entrant, zombie, unloaded} |
183 | 184 |
184 #ifdef ASSERT | 185 #ifdef ASSERT |
430 | 431 |
431 bool has_method_handle_invokes() const { return _has_method_handle_invokes; } | 432 bool has_method_handle_invokes() const { return _has_method_handle_invokes; } |
432 void set_has_method_handle_invokes(bool z) { _has_method_handle_invokes = z; } | 433 void set_has_method_handle_invokes(bool z) { _has_method_handle_invokes = z; } |
433 | 434 |
434 bool is_speculatively_disconnected() const { return _speculatively_disconnected; } | 435 bool is_speculatively_disconnected() const { return _speculatively_disconnected; } |
435 void set_speculatively_disconnected(bool z) { _speculatively_disconnected = z; } | 436 void set_speculatively_disconnected(bool z) { _speculatively_disconnected = z; } |
437 | |
438 bool is_lazy_critical_native() const { return _lazy_critical_native; } | |
439 void set_lazy_critical_native(bool z) { _lazy_critical_native = z; } | |
436 | 440 |
437 int comp_level() const { return _comp_level; } | 441 int comp_level() const { return _comp_level; } |
438 | 442 |
439 // Support for oops in scopes and relocs: | 443 // Support for oops in scopes and relocs: |
440 // Note: index 0 is reserved for null. | 444 // Note: index 0 is reserved for null. |