equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
415 } else { |
415 } else { |
416 // Call to compiled code |
416 // Call to compiled code |
417 bool static_bound = info.is_optimized() || (info.cached_metadata() == NULL); |
417 bool static_bound = info.is_optimized() || (info.cached_metadata() == NULL); |
418 #ifdef ASSERT |
418 #ifdef ASSERT |
419 CodeBlob* cb = CodeCache::find_blob_unsafe(info.entry()); |
419 CodeBlob* cb = CodeCache::find_blob_unsafe(info.entry()); |
420 assert (cb->is_compiled(), "must be compiled!"); |
420 assert (cb != NULL && cb->is_compiled(), "must be compiled!"); |
421 #endif /* ASSERT */ |
421 #endif /* ASSERT */ |
422 |
422 |
423 // This is MT safe if we come from a clean-cache and go through a |
423 // This is MT safe if we come from a clean-cache and go through a |
424 // non-verified entry point |
424 // non-verified entry point |
425 bool safe = SafepointSynchronize::is_at_safepoint() || |
425 bool safe = SafepointSynchronize::is_at_safepoint() || |