mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8231953: Wrong assumption in assertion in oop::register_oop
On ARM32 thumb mode, the pc of the current frame is always zero Reviewed-by: coleenp, dcubed
This commit is contained in:
parent
89cdeeb6fe
commit
31ab60e211
1 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2019, 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
|
||||
|
@ -37,8 +37,6 @@ void oop::register_oop() {
|
|||
Thread* t = Thread::current_or_null();
|
||||
if (t != NULL && t->is_Java_thread()) {
|
||||
frame fr = os::current_frame();
|
||||
// This points to the oop creator, I guess current frame points to caller
|
||||
assert (fr.pc(), "should point to a vm frame");
|
||||
t->unhandled_oops()->register_unhandled_oop(this, fr.pc());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue