1.1 --- a/src/share/vm/code/nmethod.hpp Wed Feb 01 07:59:01 2012 -0800 1.2 +++ b/src/share/vm/code/nmethod.hpp Wed Feb 01 16:57:08 2012 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -175,6 +175,7 @@ 1.11 // set during construction 1.12 unsigned int _has_unsafe_access:1; // May fault due to unsafe access. 1.13 unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes? 1.14 + unsigned int _lazy_critical_native:1; // Lazy JNI critical native 1.15 1.16 // Protected by Patching_lock 1.17 unsigned char _state; // {alive, not_entrant, zombie, unloaded} 1.18 @@ -430,7 +431,10 @@ 1.19 void set_has_method_handle_invokes(bool z) { _has_method_handle_invokes = z; } 1.20 1.21 bool is_speculatively_disconnected() const { return _speculatively_disconnected; } 1.22 - void set_speculatively_disconnected(bool z) { _speculatively_disconnected = z; } 1.23 + void set_speculatively_disconnected(bool z) { _speculatively_disconnected = z; } 1.24 + 1.25 + bool is_lazy_critical_native() const { return _lazy_critical_native; } 1.26 + void set_lazy_critical_native(bool z) { _lazy_critical_native = z; } 1.27 1.28 int comp_level() const { return _comp_level; } 1.29