comparison src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp @ 1665:a93a9eda13f7

6962947: shared TaskQueue statistics Reviewed-by: tonyp, ysr
author jcoomes
date Fri, 16 Jul 2010 21:33:21 -0700
parents c18cbe5936b8
children 9d7a8ab3736b
comparison
equal deleted inserted replaced
1657:1a1ce2076047 1665:a93a9eda13f7
1 /* 1 /*
2 * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2002, 2010, 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.
122 } else { 122 } else {
123 PSScavenge::copy_and_push_safe_barrier(this, (oop*)p); 123 PSScavenge::copy_and_push_safe_barrier(this, (oop*)p);
124 } 124 }
125 } 125 }
126 } 126 }
127
128 #if TASKQUEUE_STATS
129 void PSPromotionManager::record_steal(StarTask& p) {
130 if (is_oop_masked(p)) {
131 ++_masked_steals;
132 }
133 }
134 #endif // TASKQUEUE_STATS