[wrapper-tracing] Enable use of mixins for values [chromium/src : master]

1 view
Skip to first unread message

Michael Lippautz (Gerrit)

unread,
Aug 18, 2017, 8:47:08 AM8/18/17
to blink-revie...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, Rob Buis, Mads Ager, chromium...@chromium.org, Kentaro Hara

PTAL

The actual change is in PS3 https://chromium-review.googlesource.com/c/620772/3.

The use is in PS3..PS4 https://chromium-review.googlesource.com/c/620772/3..4

LMK what you think about the code size vs code health tradeoff.

View Change

1 comment:

To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
Gerrit-Change-Number: 620772
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Mads Ager <ag...@chromium.org>
Gerrit-CC: Rob Buis <rob....@samsung.com>
Gerrit-Comment-Date: Fri, 18 Aug 2017 12:47:00 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No

Kentaro Hara (Gerrit)

unread,
Aug 18, 2017, 8:52:59 AM8/18/17
to Michael Lippautz, blink-revie...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, Rob Buis, Mads Ager, chromium...@chromium.org

Patch Set 4:

(1 comment)

PTAL

The actual change is in PS3 https://chromium-review.googlesource.com/c/620772/3.

The use is in PS3..PS4 https://chromium-review.googlesource.com/c/620772/3..4

LMK what you think about the code size vs code health tradeoff.

How much will it increase the code size?

Can we add a unittest for write barriers on the mixin object?

PS3 looks good overall!

View Change

    To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-MessageType: comment
    Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
    Gerrit-Change-Number: 620772
    Gerrit-PatchSet: 4
    Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Mads Ager <ag...@chromium.org>
    Gerrit-CC: Rob Buis <rob....@samsung.com>
    Gerrit-Comment-Date: Fri, 18 Aug 2017 12:52:54 +0000
    Gerrit-HasComments: No
    Gerrit-HasLabels: No

    Michael Lippautz (Gerrit)

    unread,
    Aug 18, 2017, 11:06:34 AM8/18/17
    to blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Rob Buis, Mads Ager, chromium...@chromium.org, Kentaro Hara

    Patch Set 4:

    Patch Set 4:

    (1 comment)

    PTAL

    The actual change is in PS3 https://chromium-review.googlesource.com/c/620772/3.

    The use is in PS3..PS4 https://chromium-review.googlesource.com/c/620772/3..4

    LMK what you think about the code size vs code health tradeoff.

    How much will it increase the code size?

    Will try to check that next week. Otherwise we can follow on the bots?


    Can we add a unittest for write barriers on the mixin object?

    Done.


    PS3 looks good overall!

    View Change

      To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-MessageType: comment
      Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
      Gerrit-Change-Number: 620772
      Gerrit-PatchSet: 6
      Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
      Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Mads Ager <ag...@chromium.org>
      Gerrit-CC: Rob Buis <rob....@samsung.com>
      Gerrit-Comment-Date: Fri, 18 Aug 2017 15:06:30 +0000
      Gerrit-HasComments: No
      Gerrit-HasLabels: No

      Kentaro Hara (Gerrit)

      unread,
      Aug 18, 2017, 11:15:08 AM8/18/17
      to Michael Lippautz, blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Commit Bot, Rob Buis, Mads Ager, chromium...@chromium.org

      Patch Set 6:

      Patch Set 4:

      Patch Set 4:

      (1 comment)

      PTAL

      The actual change is in PS3 https://chromium-review.googlesource.com/c/620772/3.

      The use is in PS3..PS4 https://chromium-review.googlesource.com/c/620772/3..4

      LMK what you think about the code size vs code health tradeoff.

      How much will it increase the code size?

      Will try to check that next week. Otherwise we can follow on the bots?

      Sounds reasonable.


      >
      > Can we add a unittest for write barriers on the mixin object?

      Done.


      PS3 looks good overall!

      View Change

        To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-MessageType: comment
        Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
        Gerrit-Change-Number: 620772
        Gerrit-PatchSet: 6
        Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
        Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Mads Ager <ag...@chromium.org>
        Gerrit-CC: Rob Buis <rob....@samsung.com>
        Gerrit-Comment-Date: Fri, 18 Aug 2017 15:14:57 +0000
        Gerrit-HasComments: No
        Gerrit-HasLabels: No

        Michael Lippautz (Gerrit)

        unread,
        Aug 18, 2017, 12:16:59 PM8/18/17
        to blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Commit Bot, Rob Buis, Mads Ager, chromium...@chromium.org, Kentaro Hara

        Patch Set 6:

        Patch Set 6:

        Patch Set 4:

        Patch Set 4:

        (1 comment)

        PTAL

        The actual change is in PS3 https://chromium-review.googlesource.com/c/620772/3.

        The use is in PS3..PS4 https://chromium-review.googlesource.com/c/620772/3..4

        LMK what you think about the code size vs code health tradeoff.

        How much will it increase the code size?

        Will try to check that next week. Otherwise we can follow on the bots?

        Sounds reasonable.

        Just looked up the old CL at 
        https://codereview.chromium.org/2595053002/

        There we removed 4 methods. In this CL I am only adding 1 (and reusing another one). I think we can just land this after you have reviewed it and observe the bots.


        >
        > >
        > > Can we add a unittest for write barriers on the mixin object?
        >
        > Done.
        >
        > >
        > > PS3 looks good overall!

        View Change

          To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
          Gerrit-Change-Number: 620772
          Gerrit-PatchSet: 6
          Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
          Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-CC: Mads Ager <ag...@chromium.org>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-Comment-Date: Fri, 18 Aug 2017 16:16:50 +0000
          Gerrit-HasComments: No
          Gerrit-HasLabels: No

          Kentaro Hara (Gerrit)

          unread,
          Aug 18, 2017, 8:56:05 PM8/18/17
          to Michael Lippautz, blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Commit Bot, Rob Buis, Mads Ager, chromium...@chromium.org

          LGTM

          Patch set 6:Code-Review +1

          View Change

          2 comments:

          To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
          Gerrit-Change-Number: 620772
          Gerrit-PatchSet: 6
          Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
          Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Mads Ager <ag...@chromium.org>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-Comment-Date: Sat, 19 Aug 2017 00:55:59 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: Yes

          Michael Lippautz (Gerrit)

          unread,
          Aug 19, 2017, 6:38:08 AM8/19/17
          to blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Kentaro Hara, Commit Bot, Rob Buis, Mads Ager, chromium...@chromium.org

          View Change

          2 comments:

          To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-MessageType: comment
          Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
          Gerrit-Change-Number: 620772
          Gerrit-PatchSet: 6
          Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
          Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
          Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Mads Ager <ag...@chromium.org>
          Gerrit-CC: Rob Buis <rob....@samsung.com>
          Gerrit-Comment-Date: Sat, 19 Aug 2017 10:37:58 +0000
          Gerrit-HasComments: Yes
          Gerrit-HasLabels: No

          Michael Lippautz (Gerrit)

          unread,
          Aug 19, 2017, 6:38:45 AM8/19/17
          to blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Kentaro Hara, Commit Bot, Rob Buis, Mads Ager, chromium...@chromium.org

          Patch set 6:Commit-Queue +2

          View Change

            To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-MessageType: comment
            Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
            Gerrit-Change-Number: 620772
            Gerrit-PatchSet: 6
            Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
            Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-CC: Mads Ager <ag...@chromium.org>
            Gerrit-CC: Rob Buis <rob....@samsung.com>
            Gerrit-Comment-Date: Sat, 19 Aug 2017 10:38:38 +0000
            Gerrit-HasComments: No
            Gerrit-HasLabels: Yes

            Commit Bot (Gerrit)

            unread,
            Aug 19, 2017, 6:44:10 AM8/19/17
            to Michael Lippautz, blink-revie...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, kouhe...@chromium.org, oilpan-...@chromium.org, blink-re...@chromium.org, dglazko...@chromium.org, eae+bli...@chromium.org, Kentaro Hara, Rob Buis, Mads Ager, chromium...@chromium.org

            Commit Bot merged this change.

            View Change

            Approvals: Kentaro Hara: Looks good to me Michael Lippautz: Commit
            [wrapper-tracing] Enable use of mixins for values

            This patch enables values of TraceWrapperMember to be mixins.

            Bug:
            Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
            Reviewed-on: https://chromium-review.googlesource.com/620772
            Reviewed-by: Kentaro Hara <har...@chromium.org>
            Commit-Queue: Michael Lippautz <mlip...@chromium.org>
            Cr-Commit-Position: refs/heads/master@{#495810}
            ---
            M third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitorTest.cpp
            M third_party/WebKit/Source/core/testing/DeathAwareScriptWrappable.h
            M third_party/WebKit/Source/platform/bindings/ScriptWrappableVisitor.h
            M third_party/WebKit/Source/platform/heap/GarbageCollected.h
            M third_party/WebKit/Source/platform/heap/Heap.h
            M third_party/WebKit/Source/platform/heap/TraceTraits.h
            6 files changed, 150 insertions(+), 33 deletions(-)


            To view, visit change 620772. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-MessageType: merged
            Gerrit-Change-Id: If2b78deadec4905d501a9baaf46c2b16d6f2befb
            Gerrit-Change-Number: 620772
            Gerrit-PatchSet: 7
            Gerrit-Owner: Michael Lippautz <mlip...@chromium.org>
            Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
            Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
            Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
            Reply all
            Reply to author
            Forward
            0 new messages