RFR: 8350893: Use generated names for hand generated opto runtime blobs
Aleksey Shipilev
shade at openjdk.org
Thu Feb 27 20:04:57 UTC 2025
On Thu, 27 Feb 2025 18:00:37 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
> The two special case opto runtime blobs that support uncommon trap and exception handling are currently being generated using hard wired blob names determined by port-specific code. They should employ the standard blob names generated from shared declarations in file stubDeclarations.hpp.
Hm. It looks like in release builds all of these would be "runtime stub"? Is that expected?
const char* OptoRuntime::stub_name(address entry) {
#ifndef PRODUCT
CodeBlob* cb = CodeCache::find_blob(entry);
RuntimeStub* rs =(RuntimeStub *)cb;
assert(rs != nullptr && rs->is_runtime_stub(), "not a runtime stub");
return rs->name();
#else
// Fast implementation for product mode (maybe it should be inlined too)
return "runtime stub";
#endif
}
-------------
PR Review: https://git.openjdk.org/jdk/pull/23829#pullrequestreview-2648960883
More information about the hotspot-compiler-dev
mailing list