Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp @ 18009:f73af4455d7d
Merge
author | asaha |
---|---|
date | Thu, 29 May 2014 09:56:06 -0700 |
parents | 78bbf4d43a14 |
children | 52b4284cb496 c49dcaf78a65 |
comparison
equal
deleted
inserted
replaced
18008:da65bbf6f89e | 18009:f73af4455d7d |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 2014, Oracle and/or its affiliates. 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. |
476 int ind = changed_region; | 476 int ind = changed_region; |
477 gclog_or_tty->print_cr("CardTableModRefBS::resize_covered_region: "); | 477 gclog_or_tty->print_cr("CardTableModRefBS::resize_covered_region: "); |
478 gclog_or_tty->print_cr(" " | 478 gclog_or_tty->print_cr(" " |
479 " _covered[%d].start(): " INTPTR_FORMAT | 479 " _covered[%d].start(): " INTPTR_FORMAT |
480 " _covered[%d].last(): " INTPTR_FORMAT, | 480 " _covered[%d].last(): " INTPTR_FORMAT, |
481 ind, _covered[ind].start(), | 481 ind, p2i(_covered[ind].start()), |
482 ind, _covered[ind].last()); | 482 ind, p2i(_covered[ind].last())); |
483 gclog_or_tty->print_cr(" " | 483 gclog_or_tty->print_cr(" " |
484 " _committed[%d].start(): " INTPTR_FORMAT | 484 " _committed[%d].start(): " INTPTR_FORMAT |
485 " _committed[%d].last(): " INTPTR_FORMAT, | 485 " _committed[%d].last(): " INTPTR_FORMAT, |
486 ind, _committed[ind].start(), | 486 ind, p2i(_committed[ind].start()), |
487 ind, _committed[ind].last()); | 487 ind, p2i(_committed[ind].last())); |
488 gclog_or_tty->print_cr(" " | 488 gclog_or_tty->print_cr(" " |
489 " byte_for(start): " INTPTR_FORMAT | 489 " byte_for(start): " INTPTR_FORMAT |
490 " byte_for(last): " INTPTR_FORMAT, | 490 " byte_for(last): " INTPTR_FORMAT, |
491 byte_for(_covered[ind].start()), | 491 p2i(byte_for(_covered[ind].start())), |
492 byte_for(_covered[ind].last())); | 492 p2i(byte_for(_covered[ind].last()))); |
493 gclog_or_tty->print_cr(" " | 493 gclog_or_tty->print_cr(" " |
494 " addr_for(start): " INTPTR_FORMAT | 494 " addr_for(start): " INTPTR_FORMAT |
495 " addr_for(last): " INTPTR_FORMAT, | 495 " addr_for(last): " INTPTR_FORMAT, |
496 addr_for((jbyte*) _committed[ind].start()), | 496 p2i(addr_for((jbyte*) _committed[ind].start())), |
497 addr_for((jbyte*) _committed[ind].last())); | 497 p2i(addr_for((jbyte*) _committed[ind].last()))); |
498 } | 498 } |
499 debug_only(verify_guard();) | 499 debug_only(verify_guard();) |
500 } | 500 } |
501 | 501 |
502 bool CardTableExtension::resize_commit_uncommit(int changed_region, | 502 bool CardTableExtension::resize_commit_uncommit(int changed_region, |