comparison src/share/vm/ci/ciSymbol.hpp @ 12264:b2e698d2276c

8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation Summary: Enhance method resolution and resulting data structures, plus some refactoring. Reviewed-by: twisti, acorn, jrose
author drchase
date Fri, 13 Sep 2013 22:38:02 -0400
parents bd7a7ce2e264
children cefad50507d8
comparison
equal deleted inserted replaced
12261:2c98370f2611 12264:b2e698d2276c
1 /* 1 /*
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2013, 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.
42 // These friends all make direct use of get_symbol: 42 // These friends all make direct use of get_symbol:
43 friend class ciEnv; 43 friend class ciEnv;
44 friend class ciInstanceKlass; 44 friend class ciInstanceKlass;
45 friend class ciSignature; 45 friend class ciSignature;
46 friend class ciMethod; 46 friend class ciMethod;
47 friend class ciField;
47 friend class ciObjArrayKlass; 48 friend class ciObjArrayKlass;
48 49
49 private: 50 private:
50 const vmSymbols::SID _sid; 51 const vmSymbols::SID _sid;
51 DEBUG_ONLY( bool sid_ok() { return vmSymbols::find_sid(get_symbol()) == _sid; } ) 52 DEBUG_ONLY( bool sid_ok() { return vmSymbols::find_sid(get_symbol()) == _sid; } )