equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
27 |
27 |
28 #include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp" |
28 #include "gc_implementation/g1/g1BlockOffsetTable.inline.hpp" |
29 #include "gc_implementation/g1/g1CollectedHeap.hpp" |
29 #include "gc_implementation/g1/g1CollectedHeap.hpp" |
30 #include "gc_implementation/g1/heapRegion.hpp" |
30 #include "gc_implementation/g1/heapRegion.hpp" |
31 #include "memory/space.hpp" |
31 #include "memory/space.hpp" |
|
32 #include "oops/oop.inline.hpp" |
32 #include "runtime/atomic.inline.hpp" |
33 #include "runtime/atomic.inline.hpp" |
33 |
34 |
34 // This version requires locking. |
35 // This version requires locking. |
35 inline HeapWord* G1OffsetTableContigSpace::allocate_impl(size_t size, |
36 inline HeapWord* G1OffsetTableContigSpace::allocate_impl(size_t size, |
36 HeapWord* const end_value) { |
37 HeapWord* const end_value) { |