equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2009-2010 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. |
39 return in_bytes(f1_offset); |
39 return in_bytes(f1_offset); |
40 } |
40 } |
41 |
41 |
42 |
42 |
43 // ------------------------------------------------------------------ |
43 // ------------------------------------------------------------------ |
|
44 // ciCPCache::is_f1_null_at |
|
45 bool ciCPCache::is_f1_null_at(int index) { |
|
46 VM_ENTRY_MARK; |
|
47 constantPoolCacheOop cpcache = (constantPoolCacheOop) get_oop(); |
|
48 oop f1 = cpcache->secondary_entry_at(index)->f1(); |
|
49 return (f1 == NULL); |
|
50 } |
|
51 |
|
52 |
|
53 // ------------------------------------------------------------------ |
44 // ciCPCache::print |
54 // ciCPCache::print |
45 // |
55 // |
46 // Print debugging information about the cache. |
56 // Print debugging information about the cache. |
47 void ciCPCache::print() { |
57 void ciCPCache::print() { |
48 Unimplemented(); |
58 Unimplemented(); |