JDK-8217998: Remove method_type field associated with the appendix field of an indy or method handle call
Karen Kinnear
karen.kinnear at oracle.com
Mon Feb 4 16:53:17 UTC 2019
Lois,
Code looks good. Couple of minor questions.comments
1. rewriter.hpp: comment line 162 needs updating - we just use 1 entry now
2. jvmciCompilerToVM.cpp
You removed an assertion about method_type_if_resolved.
Would it make sense to add an assertion that !has_local_sig - which if I am reading this correctly,
you are setting to indicate sig-poly methods?
Does jvmci use the method_type field? Or was removing this assertion the only change needed?
3. ciStreams.cpp
comment line 367: “There is are” -> “There are”
4. ciStreams.cpp
line 336 sets local_signature
Would it make sense to only do that inside the check for if (has_local_signature()) - e.g. after line 393?
5. Testing - the comments in ciStreams.cpp get_method are very helpful
Are there existing tests for these cases or do we need any new ones?
thanks,
Karen
> On Feb 4, 2019, at 7:32 AM, Lois Foltan <lois.foltan at oracle.com> wrote:
>
> Please review this change that removes the unused method_type field associated with the appendix field of an indy or method handle call. This is the first of a series of changes working towards JDK-8210685: Bootstrap method consolidation.
>
> open webrev at: http://cr.openjdk.java.net/~lfoltan/bug_jdk8217998.1/webrev/
> bug link: https://bugs.openjdk.java.net/browse/JDK-8217998
> co-contributors: Lois Foltan & John Rose
>
> Testing: hs-tier1-4 & jdk-tier1-3 (all platforms), hs-tier5-8 (linux only), JCK vm & lang (linux only)
>
> Thanks,
> Lois
More information about the hotspot-dev
mailing list