comparison src/share/vm/ci/ciKlass.hpp @ 1138:dd57230ba8fe

6893268: additional dynamic language related optimizations in C2 Summary: C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance. Reviewed-by: kvn, never
author twisti
date Tue, 05 Jan 2010 15:21:25 +0100
parents a61af66fc99e
children c18cbe5936b8
comparison
equal deleted inserted replaced
1137:97125851f396 1138:dd57230ba8fe
1 /* 1 /*
2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1999-2009 Sun Microsystems, Inc. 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.
67 67
68 public: 68 public:
69 ciKlass(KlassHandle k_h); 69 ciKlass(KlassHandle k_h);
70 70
71 // What is the name of this klass? 71 // What is the name of this klass?
72 ciSymbol* name() { return _name; } 72 ciSymbol* name() const { return _name; }
73 73
74 // What is its layout helper value? 74 // What is its layout helper value?
75 jint layout_helper() { return _layout_helper; } 75 jint layout_helper() { return _layout_helper; }
76 76
77 bool is_subtype_of(ciKlass* klass); 77 bool is_subtype_of(ciKlass* klass);