comparison src/share/vm/oops/methodDataOop.hpp @ 2264:a97fd181b813

Merge
author kvn
date Wed, 23 Feb 2011 11:18:16 -0800
parents 72d6c57d0658 e5383553fd4e
children f767174aac14
comparison
equal deleted inserted replaced
2263:5841dc1964f0 2264:a97fd181b813
1 /* 1 /*
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 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.
450 450
451 #ifndef SERIALGC 451 #ifndef SERIALGC
452 // Parallel old support 452 // Parallel old support
453 virtual void follow_contents(ParCompactionManager* cm) {} 453 virtual void follow_contents(ParCompactionManager* cm) {}
454 virtual void update_pointers() {} 454 virtual void update_pointers() {}
455 virtual void update_pointers(HeapWord* beg_addr, HeapWord* end_addr) {}
456 #endif // SERIALGC 455 #endif // SERIALGC
457 456
458 // CI translation: ProfileData can represent both MethodDataOop data 457 // CI translation: ProfileData can represent both MethodDataOop data
459 // as well as CIMethodData data. This function is provided for translating 458 // as well as CIMethodData data. This function is provided for translating
460 // an oop in a ProfileData to the ci equivalent. Generally speaking, 459 // an oop in a ProfileData to the ci equivalent. Generally speaking,
746 745
747 #ifndef SERIALGC 746 #ifndef SERIALGC
748 // Parallel old support 747 // Parallel old support
749 virtual void follow_contents(ParCompactionManager* cm); 748 virtual void follow_contents(ParCompactionManager* cm);
750 virtual void update_pointers(); 749 virtual void update_pointers();
751 virtual void update_pointers(HeapWord* beg_addr, HeapWord* end_addr);
752 #endif // SERIALGC 750 #endif // SERIALGC
753 751
754 oop* adr_receiver(uint row) { 752 oop* adr_receiver(uint row) {
755 return adr_oop_at(receiver_cell_index(row)); 753 return adr_oop_at(receiver_cell_index(row));
756 } 754 }