equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2018, 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 #include "gc/cms/freeChunk.hpp" |
27 #include "gc/cms/freeChunk.hpp" |
28 #include "gc/shared/collectedHeap.hpp" |
28 #include "gc/shared/collectedHeap.hpp" |
29 #include "memory/freeList.inline.hpp" |
29 #include "memory/freeList.inline.hpp" |
30 #include "runtime/globals.hpp" |
30 #include "runtime/globals.hpp" |
31 #include "runtime/mutex.hpp" |
31 #include "runtime/mutex.hpp" |
32 #include "runtime/orderAccess.inline.hpp" |
32 #include "runtime/orderAccess.hpp" |
33 #include "runtime/vmThread.hpp" |
33 #include "runtime/vmThread.hpp" |
34 |
34 |
35 template <> |
35 template <> |
36 void AdaptiveFreeList<FreeChunk>::print_on(outputStream* st, const char* c) const { |
36 void AdaptiveFreeList<FreeChunk>::print_on(outputStream* st, const char* c) const { |
37 if (c != NULL) { |
37 if (c != NULL) { |