--- old/src/cpu/x86/vm/interp_masm_x86_64.cpp 2018-12-12 17:29:34.753456148 +0000 +++ new/src/cpu/x86/vm/interp_masm_x86_64.cpp 2018-12-12 17:29:34.653455533 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2018, 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 @@ -1505,5 +1505,7 @@ incrementl(scratch, increment); movl(counter_addr, scratch); andl(scratch, mask); - jcc(cond, *where); + if (where != NULL) { + jcc(cond, *where); + } }