< prev index next >

src/share/vm/gc_implementation/shenandoah/shenandoahFreeSet.hpp

Print this page
rev 10674 : [backport] Move ShenandoahAllocType and ShenandoahAllocRequest to separate file
rev 10772 : [backport] Update copyrights

*** 1,8 **** /* ! * Copyright (c) 2016, Red Hat, Inc. and/or its affiliates. * * 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,8 ---- /* ! * Copyright (c) 2016, 2018, Red Hat, Inc. All rights reserved. * * 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. *
*** 48,60 **** void assert_heaplock_not_owned_by_current_thread() const PRODUCT_RETURN; bool is_mutator_free(size_t idx) const; bool is_collector_free(size_t idx) const; ! HeapWord* try_allocate_in(ShenandoahHeapRegion* region, ShenandoahHeap::ShenandoahAllocationRequest& req, bool& in_new_region); ! HeapWord* allocate_single(ShenandoahHeap::ShenandoahAllocationRequest& req, bool& in_new_region); ! HeapWord* allocate_contiguous(ShenandoahHeap::ShenandoahAllocationRequest& req); void flip_to_gc(ShenandoahHeapRegion* r); void recompute_bounds(); void adjust_bounds(); --- 48,60 ---- void assert_heaplock_not_owned_by_current_thread() const PRODUCT_RETURN; bool is_mutator_free(size_t idx) const; bool is_collector_free(size_t idx) const; ! HeapWord* try_allocate_in(ShenandoahHeapRegion* region, ShenandoahAllocRequest& req, bool& in_new_region); ! HeapWord* allocate_single(ShenandoahAllocRequest& req, bool& in_new_region); ! HeapWord* allocate_contiguous(ShenandoahAllocRequest& req); void flip_to_gc(ShenandoahHeapRegion* r); void recompute_bounds(); void adjust_bounds();
*** 87,97 **** size_t available() const { assert(_used <= _capacity, "must use less than capacity"); return _capacity - _used; } ! HeapWord* allocate(ShenandoahHeap::ShenandoahAllocationRequest& req, bool& in_new_region); size_t unsafe_peek_free() const; void print_on(outputStream* out) const; }; #endif //SHARE_VM_GC_SHENANDOAH_SHENANDOAHFREESET_HPP --- 87,97 ---- size_t available() const { assert(_used <= _capacity, "must use less than capacity"); return _capacity - _used; } ! HeapWord* allocate(ShenandoahAllocRequest& req, bool& in_new_region); size_t unsafe_peek_free() const; void print_on(outputStream* out) const; }; #endif //SHARE_VM_GC_SHENANDOAH_SHENANDOAHFREESET_HPP
< prev index next >