1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp Thu Sep 16 13:45:55 2010 -0700 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/pcTasks.hpp Mon Sep 20 14:38:38 2010 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -242,7 +242,11 @@ 1.11 // 1.12 1.13 class DrainStacksCompactionTask : public GCTask { 1.14 + uint _stack_index; 1.15 + uint stack_index() { return _stack_index; } 1.16 public: 1.17 + DrainStacksCompactionTask(uint stack_index) : GCTask(), 1.18 + _stack_index(stack_index) {}; 1.19 char* name() { return (char *)"drain-region-task"; } 1.20 virtual void do_it(GCTaskManager* manager, uint which); 1.21 };