Mercurial > hg > truffle
comparison src/share/vm/memory/freeList.cpp @ 18041:52b4284cb496
Merge with jdk8u20-b26
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 15 Oct 2014 16:02:50 +0200 |
parents | 89152779163c 191174b49bec |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
17606:45d7b2c7029d | 18041:52b4284cb496 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 2014, 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. |
32 #include "runtime/vmThread.hpp" | 32 #include "runtime/vmThread.hpp" |
33 #include "utilities/macros.hpp" | 33 #include "utilities/macros.hpp" |
34 | 34 |
35 #if INCLUDE_ALL_GCS | 35 #if INCLUDE_ALL_GCS |
36 #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" | 36 #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" |
37 #include "gc_implementation/g1/g1CodeCacheRemSet.hpp" | |
37 #endif // INCLUDE_ALL_GCS | 38 #endif // INCLUDE_ALL_GCS |
38 | 39 |
39 // Free list. A FreeList is used to access a linked list of chunks | 40 // Free list. A FreeList is used to access a linked list of chunks |
40 // of space in the heap. The head and tail are maintained so that | 41 // of space in the heap. The head and tail are maintained so that |
41 // items can be (as in the current implementation) added at the | 42 // items can be (as in the current implementation) added at the |
330 | 331 |
331 template class FreeList<Metablock>; | 332 template class FreeList<Metablock>; |
332 template class FreeList<Metachunk>; | 333 template class FreeList<Metachunk>; |
333 #if INCLUDE_ALL_GCS | 334 #if INCLUDE_ALL_GCS |
334 template class FreeList<FreeChunk>; | 335 template class FreeList<FreeChunk>; |
336 template class FreeList<G1CodeRootChunk>; | |
335 #endif // INCLUDE_ALL_GCS | 337 #endif // INCLUDE_ALL_GCS |