changeset 58832:58acc5079000

8237882: ZGC: Remove ZUtils::round_{up,down}_power_of_2() declarations Reviewed-by: kbarrett, smonteith
author pliden
date Thu, 30 Jan 2020 12:42:01 +0100
parents fe7c8e8eca0b
children 0f53754d8577
files src/hotspot/share/gc/z/zUtils.hpp
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/z/zUtils.hpp	Thu Jan 30 12:41:59 2020 +0100
+++ b/src/hotspot/share/gc/z/zUtils.hpp	Thu Jan 30 12:42:01 2020 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 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
@@ -31,10 +31,6 @@
   // Allocation
   static uintptr_t alloc_aligned(size_t alignment, size_t size);
 
-  // Power of two
-  static size_t round_up_power_of_2(size_t value);
-  static size_t round_down_power_of_2(size_t value);
-
   // Size conversion
   static size_t bytes_to_words(size_t size_in_words);
   static size_t words_to_bytes(size_t size_in_words);