equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2018, 2019, 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. |
28 |
28 |
29 class ZUnload { |
29 class ZUnload { |
30 private: |
30 private: |
31 ZWorkers* const _workers; |
31 ZWorkers* const _workers; |
32 |
32 |
33 void unlink(); |
|
34 void purge(); |
|
35 |
|
36 public: |
33 public: |
37 ZUnload(ZWorkers* workers); |
34 ZUnload(ZWorkers* workers); |
38 |
35 |
39 void prepare(); |
36 void prepare(); |
40 void unload(); |
37 void unlink(); |
|
38 void purge(); |
41 void finish(); |
39 void finish(); |
42 }; |
40 }; |
43 |
41 |
44 #endif // SHARE_GC_Z_ZUNLOAD_HPP |
42 #endif // SHARE_GC_Z_ZUNLOAD_HPP |