Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Issue 179813005: Special case the recording of constant pool entries in the slot buffer. (Closed)

Created:
6 years, 10 months ago by rmcilroy
Modified:
6 years, 9 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Special case the recording of constant pool entries in the slot buffer. This CL enables RelocInfo pointers which live in the constant pool to be treated as normal pointers by the slot buffer, avoiding the requirement of creating fake RelocInfo objects during UpdateSlots() in order to update these slots. This is possible because constant pool entries are just pointers and don't require the RelocInfo machinary to be updated. EmbeddedObject constant pool entries can be added untyped to the slot buffer, while code targets are still typed in order to correctly update the target address based on the relocated code object. Note: this is required in order to enable OOL constant pool support on Arm, but should be benifitial for the current inline constant pool used by Arm code. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19772

Patch Set 1 #

Total comments: 13

Patch Set 2 : Remove VisitCodeTarget(Address) function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -5 lines) Patch
M src/a64/assembler-a64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/a64/assembler-a64-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/arm/assembler-arm-inl.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/assembler.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/mark-compact.cc View 1 1 chunk +24 lines, -5 lines 0 comments Download
M src/mips/assembler-mips.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/mips/assembler-mips-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/x64/assembler-x64-inl.h View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rmcilroy
Michael: This is what we talked about when I was in Munich - avoiding having ...
6 years, 10 months ago (2014-02-25 17:25:00 UTC) #1
rmcilroy
On 2014/02/25 17:25:00, rmcilroy wrote: > Michael: This is what we talked about when I ...
6 years, 9 months ago (2014-03-03 15:44:00 UTC) #2
Michael Starzinger
LGTM, only nits and naming. https://codereview.chromium.org/179813005/diff/1/src/assembler.h File src/assembler.h (right): https://codereview.chromium.org/179813005/diff/1/src/assembler.h#newcode415 src/assembler.h:415: INLINE(Address constant_pool_entry_address()); nit: Let's ...
6 years, 9 months ago (2014-03-07 14:36:59 UTC) #3
Michael Starzinger
More thoughts ... https://codereview.chromium.org/179813005/diff/1/src/objects.h File src/objects.h (right): https://codereview.chromium.org/179813005/diff/1/src/objects.h#newcode10702 src/objects.h:10702: virtual void VisitCodeTarget(Address target_address_pointer); On 2014/03/07 ...
6 years, 9 months ago (2014-03-07 15:34:04 UTC) #4
rmcilroy
https://codereview.chromium.org/179813005/diff/1/src/assembler.h File src/assembler.h (right): https://codereview.chromium.org/179813005/diff/1/src/assembler.h#newcode415 src/assembler.h:415: INLINE(Address constant_pool_entry_address()); On 2014/03/07 14:36:59, Michael Starzinger wrote: > ...
6 years, 9 months ago (2014-03-10 12:25:22 UTC) #5
Michael Starzinger
Much cleaner. I like it. LGTM.
6 years, 9 months ago (2014-03-10 12:59:19 UTC) #6
rmcilroy
6 years, 9 months ago (2014-03-10 18:48:10 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r19772 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698