mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Use 1UL instead of static_cast<size_t>(1)
This commit is contained in:
parent
e6087ad195
commit
76675c5429
@ -582,7 +582,7 @@ void ShenandoahOldGeneration::handle_failed_evacuation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ShenandoahOldGeneration::handle_failed_promotion(Thread* thread, size_t size) {
|
void ShenandoahOldGeneration::handle_failed_promotion(Thread* thread, size_t size) {
|
||||||
_promotion_failure_count.add_then_fetch(static_cast<size_t>(1));
|
_promotion_failure_count.add_then_fetch(1UL);
|
||||||
_promotion_failure_words.and_then_fetch(size);
|
_promotion_failure_words.and_then_fetch(size);
|
||||||
|
|
||||||
LogTarget(Debug, gc, plab) lt;
|
LogTarget(Debug, gc, plab) lt;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user