RFR(XS): 8031389: On x86 C1 emits two relocations for polls
vladimir.kozlov at oracle.com
Wed Jun 4 18:31:46 UTC 2014
On 6/4/14 3:51 AM, Tobias Hartmann wrote:
> please review the following patch for 8031389.
> C1 emits two poll_type relocations at safepoint polls because
> LIR_Assembler::safepoint_poll(..) adds a relocation and calls
> LIR_Assembler::add_debug_info_for_branch(..) which adds a relocation as
> Bug: https://bugs.openjdk.java.net/browse/JDK-8031389
> The implementation of add_debug_info_for_branch(..) is changed to not
> emit a poll relocation. This also improves the semantics because the
> method is used for normal branches as well (see
> The implementation of LIR_Assembler::safepoint_poll(...) for sparc, arm
> and ppc is changed to always emit a poll relocation.
> Webrev: http://cr.openjdk.java.net/~thartmann/8031389/webrev.00/
More information about the hotspot-compiler-dev