RFR: 8261449: Micro-optimize JVM_LatestUserDefinedLoader [v2]

Aleksey Shipilev shade at openjdk.java.net
Wed Feb 10 07:35:00 UTC 2021


On Wed, 10 Feb 2021 01:29:51 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Added a comment
>
> src/hotspot/share/prims/jvm.cpp line 3293:
> 
>> 3291:     oop loader = ik->class_loader();
>> 3292:     if (loader != NULL && !SystemDictionary::is_platform_class_loader(loader)) {
>> 3293:       if (!ik->is_subclass_of(vmClasses::reflect_MethodAccessorImpl_klass()) &&
> 
> Please add a comment:
> // Skip reflection related frames

Added!

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

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


More information about the core-libs-dev mailing list