mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-25 23:29:55 +00:00
8151513: Remove debugging code from BarrierSet
Reviewed-by: pliden, stefank
This commit is contained in:
parent
94c75d0f00
commit
cc0120e872
@ -30,10 +30,6 @@
|
||||
// count is number of array elements being written
|
||||
void BarrierSet::static_write_ref_array_pre(HeapWord* start, size_t count) {
|
||||
assert(count <= (size_t)max_intx, "count too large");
|
||||
#if 0
|
||||
warning("Pre: \t" INTPTR_FORMAT "[" SIZE_FORMAT "]\t",
|
||||
start, count);
|
||||
#endif
|
||||
if (UseCompressedOops) {
|
||||
Universe::heap()->barrier_set()->write_ref_array_pre((narrowOop*)start, (int)count, false);
|
||||
} else {
|
||||
|
||||
@ -78,10 +78,6 @@ void BarrierSet::write_ref_array(HeapWord* start, size_t count) {
|
||||
// If compressed oops were not being used, these should already be aligned
|
||||
assert(UseCompressedOops || (aligned_start == start && aligned_end == end),
|
||||
"Expected heap word alignment of start and end");
|
||||
#if 0
|
||||
warning("Post:\t" INTPTR_FORMAT "[" SIZE_FORMAT "] : [" INTPTR_FORMAT "," INTPTR_FORMAT ")\t",
|
||||
start, count, aligned_start, aligned_end);
|
||||
#endif
|
||||
write_ref_array_work(MemRegion(aligned_start, aligned_end));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user