src/share/vm/opto/buildOopMap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/opto/buildOopMap.cpp Wed Apr 22 15:01:16 2009
--- new/src/share/vm/opto/buildOopMap.cpp Wed Apr 22 15:01:16 2009
*** 361,370 ****
--- 361,384 ----
reg2++;
}
*/
#endif
+ #ifdef ASSERT
+ for( OopMapStream oms1(omap, OopMapValue::derived_oop_value); !oms1.is_done(); oms1.next()) {
+ OopMapValue omv1 = oms1.current();
+ bool found = false;
+ for( OopMapStream oms2(omap,OopMapValue::oop_value); !oms2.is_done(); oms2.next()) {
+ if( omv1.content_reg() == oms2.current().reg() ) {
+ found = true;
+ break;
+ }
+ }
+ assert( found, "derived with no base in oopmap" );
+ }
+ #endif
+
return omap;
}
//------------------------------do_liveness------------------------------------
// Compute backwards liveness on registers
src/share/vm/opto/buildOopMap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File