diff --git a/src/cpu/zero/vm/stack_zero.cpp b/src/cpu/zero/vm/stack_zero.cpp index f1b31cc95aef1854c77ebe715ae343e2c6f96c2e..33b0551b53978b37f0e3746bd88545fb410b15e4 100644 --- a/src/cpu/zero/vm/stack_zero.cpp +++ b/src/cpu/zero/vm/stack_zero.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright 2010 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -69,7 +69,8 @@ void ZeroStack::handle_overflow(TRAPS) { break; case _thread_in_vm: - Exceptions::throw_stack_overflow_exception(thread, __FILE__, __LINE__); + Exceptions::throw_stack_overflow_exception(thread, __FILE__, __LINE__, + methodHandle()); break; default: diff --git a/src/share/vm/runtime/vmStructs.cpp b/src/share/vm/runtime/vmStructs.cpp index 6924e47c4a54ffc5540ec6619a000910b502f1ef..d1cb2cc7dbd816474f23ca482bdb864d9fac217c 100644 --- a/src/share/vm/runtime/vmStructs.cpp +++ b/src/share/vm/runtime/vmStructs.cpp @@ -1281,7 +1281,6 @@ static inline uint64_t cast_uint64_t(size_t x) \ declare_toplevel_type(StubQueue) \ declare_toplevel_type(StubRoutines) \ - IA32_ONLY(declare_toplevel_type(StubRoutines::x86)) \ declare_toplevel_type(Stub) \ declare_type(InterpreterCodelet, Stub) \ \