1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/share/vm/ci/ciClassList.hpp Wed Apr 27 01:25:04 2016 +0800 1.3 @@ -0,0 +1,121 @@ 1.4 +/* 1.5 + * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.7 + * 1.8 + * This code is free software; you can redistribute it and/or modify it 1.9 + * under the terms of the GNU General Public License version 2 only, as 1.10 + * published by the Free Software Foundation. 1.11 + * 1.12 + * This code is distributed in the hope that it will be useful, but WITHOUT 1.13 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.14 + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.15 + * version 2 for more details (a copy is included in the LICENSE file that 1.16 + * accompanied this code). 1.17 + * 1.18 + * You should have received a copy of the GNU General Public License version 1.19 + * 2 along with this work; if not, write to the Free Software Foundation, 1.20 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.21 + * 1.22 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.23 + * or visit www.oracle.com if you need additional information or have any 1.24 + * questions. 1.25 + * 1.26 + */ 1.27 + 1.28 +#ifndef SHARE_VM_CI_CICLASSLIST_HPP 1.29 +#define SHARE_VM_CI_CICLASSLIST_HPP 1.30 + 1.31 +class ciEnv; 1.32 +class ciObjectFactory; 1.33 +class ciConstantPoolCache; 1.34 + 1.35 +class ciField; 1.36 +class ciConstant; 1.37 +class ciFlags; 1.38 +class ciExceptionHandler; 1.39 +class ciCallProfile; 1.40 +class ciSignature; 1.41 + 1.42 +class ciBytecodeStream; 1.43 +class ciSignatureStream; 1.44 +class ciExceptionHandlerStream; 1.45 + 1.46 +class ciTypeFlow; 1.47 + 1.48 +class ciBaseObject; 1.49 +class ciObject; 1.50 +class ciNullObject; 1.51 +class ciInstance; 1.52 +class ciCallSite; 1.53 +class ciMemberName; 1.54 +class ciMethodHandle; 1.55 +class ciMethodType; 1.56 +class ciArray; 1.57 +class ciObjArray; 1.58 +class ciTypeArray; 1.59 +class ciSymbol; 1.60 +class ciMetadata; 1.61 +class ciMethod; 1.62 +class ciMethodData; 1.63 +class ciReceiverTypeData; // part of ciMethodData 1.64 +class ciType; 1.65 +class ciReturnAddress; 1.66 +class ciKlass; 1.67 +class ciInstanceKlass; 1.68 +class ciArrayKlass; 1.69 +class ciObjArrayKlass; 1.70 +class ciTypeArrayKlass; 1.71 + 1.72 +// Simulate Java Language style package-private access with 1.73 +// friend declarations. 1.74 +// This is a great idea but gcc and other C++ compilers give an 1.75 +// error for being friends with yourself, so this macro does not 1.76 +// compile on some platforms. 1.77 + 1.78 +// Everyone gives access to ciObjectFactory 1.79 +#define CI_PACKAGE_ACCESS \ 1.80 +friend class ciObjectFactory; \ 1.81 +friend class VMStructs; 1.82 + 1.83 +// These are the packages that have access to ciEnv 1.84 +// Any more access must be given explicitly. 1.85 +#define CI_PACKAGE_ACCESS_TO \ 1.86 +friend class ciObjectFactory; \ 1.87 +friend class VMStructs; \ 1.88 +friend class ciCallSite; \ 1.89 +friend class ciConstantPoolCache; \ 1.90 +friend class ciField; \ 1.91 +friend class ciConstant; \ 1.92 +friend class ciFlags; \ 1.93 +friend class ciExceptionHandler; \ 1.94 +friend class ciCallProfile; \ 1.95 +friend class ciSignature; \ 1.96 +friend class ciBytecodeStream; \ 1.97 +friend class ciSignatureStream; \ 1.98 +friend class ciExceptionHandlerStream; \ 1.99 +friend class ciObject; \ 1.100 +friend class ciNullObject; \ 1.101 +friend class ciInstance; \ 1.102 +friend class ciMemberName; \ 1.103 +friend class ciMethod; \ 1.104 +friend class ciMethodData; \ 1.105 +friend class ciMethodHandle; \ 1.106 +friend class ciMethodType; \ 1.107 +friend class ciReceiverTypeData; \ 1.108 +friend class ciTypeEntries; \ 1.109 +friend class ciSpeculativeTrapData; \ 1.110 +friend class ciSymbol; \ 1.111 +friend class ciArray; \ 1.112 +friend class ciObjArray; \ 1.113 +friend class ciMetadata; \ 1.114 +friend class ciReplay; \ 1.115 +friend class ciTypeArray; \ 1.116 +friend class ciType; \ 1.117 +friend class ciReturnAddress; \ 1.118 +friend class ciKlass; \ 1.119 +friend class ciInstanceKlass; \ 1.120 +friend class ciArrayKlass; \ 1.121 +friend class ciObjArrayKlass; \ 1.122 +friend class ciTypeArrayKlass; \ 1.123 + 1.124 +#endif // SHARE_VM_CI_CICLASSLIST_HPP