8291056: Remove unused Generation::par_promote*()
Reviewed-by: kbarrett
This commit is contained in:
parent
48b77a6969
commit
adaf3b9014
@ -184,13 +184,6 @@ oop Generation::promote(oop obj, size_t obj_size) {
|
||||
return new_obj;
|
||||
}
|
||||
|
||||
oop Generation::par_promote(int thread_num,
|
||||
oop obj, markWord m, size_t word_sz) {
|
||||
// Could do a bad general impl here that gets a lock. But no.
|
||||
ShouldNotCallThis();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Space* Generation::space_containing(const void* p) const {
|
||||
GenerationIsInReservedClosure blk(p);
|
||||
// Cast away const
|
||||
|
@ -249,20 +249,6 @@ class Generation: public CHeapObj<mtGC> {
|
||||
// avoid repeating the virtual call to retrieve it.
|
||||
virtual oop promote(oop obj, size_t obj_size);
|
||||
|
||||
// Thread "thread_num" (0 <= i < ParalleGCThreads) wants to promote
|
||||
// object "obj", whose original mark word was "m", and whose size is
|
||||
// "word_sz". If possible, allocate space for "obj", copy obj into it
|
||||
// (taking care to copy "m" into the mark word when done, since the mark
|
||||
// word of "obj" may have been overwritten with a forwarding pointer, and
|
||||
// also taking care to copy the klass pointer *last*. Returns the new
|
||||
// object if successful, or else NULL.
|
||||
virtual oop par_promote(int thread_num, oop obj, markWord m, size_t word_sz);
|
||||
|
||||
// Informs the current generation that all par_promote_alloc's in the
|
||||
// collection have been completed; any supporting data structures can be
|
||||
// reset. Default is to do nothing.
|
||||
virtual void par_promote_alloc_done(int thread_num) {}
|
||||
|
||||
// Informs the current generation that all oop_since_save_marks_iterates
|
||||
// performed by "thread_num" in the current collection, if any, have been
|
||||
// completed; any supporting data structures can be reset. Default is to
|
||||
|
Loading…
x
Reference in New Issue
Block a user