equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 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. |
31 #include "gc/shared/genOopClosures.hpp" |
31 #include "gc/shared/genOopClosures.hpp" |
32 #include "gc/shared/generation.hpp" |
32 #include "gc/shared/generation.hpp" |
33 #include "gc/shared/space.hpp" |
33 #include "gc/shared/space.hpp" |
34 #include "oops/access.inline.hpp" |
34 #include "oops/access.inline.hpp" |
35 #include "oops/compressedOops.inline.hpp" |
35 #include "oops/compressedOops.inline.hpp" |
|
36 #include "oops/oop.inline.hpp" |
36 |
37 |
37 inline OopsInGenClosure::OopsInGenClosure(Generation* gen) : |
38 inline OopsInGenClosure::OopsInGenClosure(Generation* gen) : |
38 ExtendedOopClosure(gen->ref_processor()), _orig_gen(gen), _rs(NULL) { |
39 ExtendedOopClosure(gen->ref_processor()), _orig_gen(gen), _rs(NULL) { |
39 set_generation(gen); |
40 set_generation(gen); |
40 } |
41 } |