Skip to content

Add array store bytecode case (and others) #4

Description

@franz1981

According to https://github.com/openjdk/jdk11/blob/37115c8ea4aff13a8148ee2b8832b20888a5d880/src/hotspot/share/opto/graphKit.cpp#L3010 array store bytecode produce checkcast type checks as well and should be accounted by the agent, if makes sense.

Reflective calls too but it doesn't seem possible to include that one too.

https://github.com/openjdk/jdk11/blob/37115c8ea4aff13a8148ee2b8832b20888a5d880/src/hotspot/cpu/x86/methodHandles_x86.cpp#L370 could be another one, but requires further investigations.

Speaking with @simonis re openjdk/jdk#6434 it doesn't seem related to just instanceof/checkcast too, but invokespecial: I'm now digging on the JDK src code to understand how/if it's possible to include them somehow.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions