src/share/vm/ci/ciCPCache.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/ci/ciCPCache.cpp Mon Feb 15 19:36:07 2010
--- new/src/share/vm/ci/ciCPCache.cpp Mon Feb 15 19:36:06 2010
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright 2009-2010 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 39,48 ****
--- 39,58 ----
return in_bytes(f1_offset);
}
// ------------------------------------------------------------------
+ // ciCPCache::is_f1_null_at
+ bool ciCPCache::is_f1_null_at(int index) {
+ VM_ENTRY_MARK;
+ constantPoolCacheOop cpcache = (constantPoolCacheOop) get_oop();
+ oop f1 = cpcache->secondary_entry_at(index)->f1();
+ return (f1 == NULL);
+ }
+
+
+ // ------------------------------------------------------------------
// ciCPCache::print
//
// Print debugging information about the cache.
void ciCPCache::print() {
Unimplemented();
src/share/vm/ci/ciCPCache.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File