comparison src/share/vm/ci/ciCPCache.cpp @ 1295:3cf667df43ef

6919934: JSR 292 needs to support x86 C1 Summary: This implements JSR 292 support for C1 x86. Reviewed-by: never, jrose, kvn
author twisti
date Tue, 09 Mar 2010 20:16:19 +0100
parents dd57230ba8fe
children c18cbe5936b8
comparison
equal deleted inserted replaced
1293:51db1e4b379d 1295:3cf667df43ef
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();