Skip to content
Permalink
Browse files

8237819: s390x - remove unused pd_zero_to_words_large

Reviewed-by: clanger, mdoerr
  • Loading branch information
Matthias Baesken
Matthias Baesken committed Jan 24, 2020
1 parent 7cae6c3 commit 1ca54e145585d6cfc1106c453e629378a1c556f8
Showing with 2 additions and 8 deletions.
  1. +2 −8 src/hotspot/cpu/s390/copy_s390.hpp
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016 SAP SE. All rights reserved.
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2020 SAP SE. 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
@@ -1095,12 +1095,6 @@ static void pd_zero_to_words(HeapWord* tohw, size_t count) {
pd_zero_to_bytes(tohw, count*HeapWordSize);
}

// Delegate to pd_zero_to_bytes. It also works HeapWord-atomic.
static void pd_zero_to_words_large(HeapWord* tohw, size_t count) {
// JVM2008: generally frequent, some tests show very frequent calls.
pd_zero_to_bytes(tohw, count*HeapWordSize);
}

static void pd_zero_to_bytes(void* to, size_t count) {
// JVM2008: some calls (generally), some tests frequent
#ifdef USE_INLINE_ASM

0 comments on commit 1ca54e1

Please sign in to comment.