RFR: 8264142: Remove TRAPS/THREAD parameters for verifier related functions [v3]

Harold Seigel hseigel at openjdk.java.net
Thu Mar 25 21:05:45 UTC 2021


On Thu, 25 Mar 2021 19:17:05 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> src/hotspot/share/classfile/verifier.cpp line 139:
>> 
>>> 137: void Verifier::log_end_verification(outputStream* st, const char* klassName, Symbol* exception_name) {
>>> 138:    Thread* THREAD = Thread::current();
>>> 139: 
>> 
>> This one would be better if you passed THREAD->pending_exception() as an oop.  Then you wouldn't have to have HAS_PENDING_EXCEPTION.
>
> This is logging so I guess it doesn't really matter.

Changed to passing it as an oop.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3194


More information about the hotspot-runtime-dev mailing list