--- old/src/share/vm/gc/serial/markSweep.hpp 2017-04-24 15:48:56.252918819 +0200 +++ new/src/share/vm/gc/serial/markSweep.hpp 2017-04-24 15:48:56.080912058 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -144,6 +144,8 @@ static void adjust_marks(); // Adjust the pointers in the preserved marks table static void restore_marks(); // Restore the marks that we saved in preserve_mark + static int adjust_pointers(oop obj); + static void follow_stack(); // Empty marking stack. static void follow_klass(Klass* klass);