equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
100 void verify_all_stacks_empty() const; |
100 void verify_all_stacks_empty() const; |
101 |
101 |
102 public: |
102 public: |
103 ZMark(ZWorkers* workers, ZPageTable* pagetable); |
103 ZMark(ZWorkers* workers, ZPageTable* pagetable); |
104 |
104 |
|
105 bool is_initialized() const; |
|
106 |
105 template <bool finalizable, bool publish> void mark_object(uintptr_t addr); |
107 template <bool finalizable, bool publish> void mark_object(uintptr_t addr); |
106 |
108 |
107 void start(); |
109 void start(); |
108 void mark(); |
110 void mark(); |
109 bool end(); |
111 bool end(); |