comparison src/share/vm/oops/instanceKlass.cpp @ 2227:e5383553fd4e

7014851: Remove unused parallel compaction code Summary: Removed. Reviewed-by: jcoomes, brutisso
author stefank
date Tue, 08 Feb 2011 12:33:19 +0100
parents 3582bf76420e
children 2ab52cda08e5 dbad0519a1c4
comparison
equal deleted inserted replaced
2226:c5a923563727 2227:e5383553fd4e
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, 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.
1734 InstanceKlass_OOP_ITERATE( \ 1734 InstanceKlass_OOP_ITERATE( \
1735 start_of_static_fields(), static_oop_field_size(), \ 1735 start_of_static_fields(), static_oop_field_size(), \
1736 PSParallelCompact::adjust_pointer(p), \ 1736 PSParallelCompact::adjust_pointer(p), \
1737 assert_nothing) 1737 assert_nothing)
1738 } 1738 }
1739
1740 void instanceKlass::update_static_fields(HeapWord* beg_addr, HeapWord* end_addr) {
1741 InstanceKlass_BOUNDED_OOP_ITERATE( \
1742 start_of_static_fields(), static_oop_field_size(), \
1743 beg_addr, end_addr, \
1744 PSParallelCompact::adjust_pointer(p), \
1745 assert_nothing )
1746 }
1747 #endif // SERIALGC 1739 #endif // SERIALGC
1748 1740
1749 void instanceKlass::oop_follow_contents(oop obj) { 1741 void instanceKlass::oop_follow_contents(oop obj) {
1750 assert(obj != NULL, "can't follow the content of NULL object"); 1742 assert(obj != NULL, "can't follow the content of NULL object");
1751 obj->follow_header(); 1743 obj->follow_header();
1869 } 1861 }
1870 1862
1871 int instanceKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { 1863 int instanceKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) {
1872 InstanceKlass_OOP_MAP_ITERATE( \ 1864 InstanceKlass_OOP_MAP_ITERATE( \
1873 obj, \ 1865 obj, \
1874 PSParallelCompact::adjust_pointer(p), \
1875 assert_nothing)
1876 return size_helper();
1877 }
1878
1879 int instanceKlass::oop_update_pointers(ParCompactionManager* cm, oop obj,
1880 HeapWord* beg_addr, HeapWord* end_addr) {
1881 InstanceKlass_BOUNDED_OOP_MAP_ITERATE( \
1882 obj, beg_addr, end_addr, \
1883 PSParallelCompact::adjust_pointer(p), \ 1866 PSParallelCompact::adjust_pointer(p), \
1884 assert_nothing) 1867 assert_nothing)
1885 return size_helper(); 1868 return size_helper();
1886 } 1869 }
1887 1870