< prev index next >

src/hotspot/share/gc/z/zUtils.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 29,42 **** class ZUtils : public AllStatic { public: // 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); // Object --- 29,38 ----
< prev index next >