equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 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. |
35 |
35 |
36 // Information about object liveness on the Java heap on a "card" basis. |
36 // Information about object liveness on the Java heap on a "card" basis. |
37 // Can be used for various purposes, like as remembered set for completely |
37 // Can be used for various purposes, like as remembered set for completely |
38 // coarsened remembered sets, scrubbing remembered sets or estimating liveness. |
38 // coarsened remembered sets, scrubbing remembered sets or estimating liveness. |
39 // This information is created as part of the concurrent marking cycle. |
39 // This information is created as part of the concurrent marking cycle. |
40 class G1CardLiveData VALUE_OBJ_CLASS_SPEC { |
40 class G1CardLiveData { |
41 friend class G1CardLiveDataHelper; |
41 friend class G1CardLiveDataHelper; |
42 friend class G1VerifyCardLiveDataTask; |
42 friend class G1VerifyCardLiveDataTask; |
43 private: |
43 private: |
44 typedef BitMap::bm_word_t bm_word_t; |
44 typedef BitMap::bm_word_t bm_word_t; |
45 // Store some additional information about the covered area to be able to test. |
45 // Store some additional information about the covered area to be able to test. |