Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
8237819: s390x - remove unused pd_zero_to_words_large
Reviewed-by: clanger, mdoerr
- Loading branch information
Showing
with
2 additions
and
8 deletions.
-
+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 |
|
|