src/share/vm/gc_implementation/shared/markSweep.cpp

changeset 5097
92ef81e2f571
parent 5011
a08c80e9e1e5
child 5125
2958af1d8c5a
     1.1 --- a/src/share/vm/gc_implementation/shared/markSweep.cpp	Wed May 08 21:06:46 2013 -0400
     1.2 +++ b/src/share/vm/gc_implementation/shared/markSweep.cpp	Fri May 10 08:27:30 2013 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2013, 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 @@ -95,7 +95,7 @@
    1.11      // Process ObjArrays one at a time to avoid marking stack bloat.
    1.12      if (!_objarray_stack.is_empty()) {
    1.13        ObjArrayTask task = _objarray_stack.pop();
    1.14 -      ObjArrayKlass* const k = (ObjArrayKlass*)task.obj()->klass();
    1.15 +      ObjArrayKlass* k = (ObjArrayKlass*)task.obj()->klass();
    1.16        k->oop_follow_contents(task.obj(), task.index());
    1.17      }
    1.18    } while (!_marking_stack.is_empty() || !_objarray_stack.is_empty());

mercurial