Skip to content
Permalink
Browse files

8237882: ZGC: Remove ZUtils::round_{up,down}_power_of_2() declarations

Reviewed-by: kbarrett, smonteith
  • Loading branch information
pliden committed Jan 30, 2020
1 parent 8391196 commit 4aa5cf5bca6a8b37a2de9a4e7779ce14f69ce250
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/hotspot/share/gc/z/zUtils.hpp
@@ -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 @@ class ZUtils : public AllStatic {
// 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);

0 comments on commit 4aa5cf5

Please sign in to comment.