Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

XDK heap profiler collector #55

Merged
merged 1 commit into from
Oct 29, 2014
Merged

XDK heap profiler collector #55

merged 1 commit into from
Oct 29, 2014

Conversation

elvin-n
Copy link

@elvin-n elvin-n commented Oct 16, 2014

This is a V8 part of the XDK heap profiler patch

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@fa97d6a as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/33)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/35)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/36)

@huningxin
Copy link
Contributor

Hi @elvin-nnov , thanks for the PR. Could you please fix the coding style errors reported by the bots first? Thanks.

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@2ea06f7 as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/35)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/37)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/38)

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@d9595ec as its head.

Bot Status
V8 Linux ARM [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/36)
V8 Linux x64 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/38)
V8 Linux ia32 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/39)

@rakuco
Copy link

rakuco commented Oct 21, 2014

You need to squash all those 3 commits together now.

@elvin-n
Copy link
Author

elvin-n commented Oct 22, 2014

I cannot do this. Each time I squash these three commits together 'git status' says
On branch master
Your branch and 'origin/master' have diverged,
and have 1 and 3 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
And after the pull git takes three comits from the origin and the situation is repeated one more time - I squash them already 5 commits (3 from origin, one which was squashed, 1 - message about merge), origin and local are diverged, I pull,squash, again diverged, etc, etc.

If you can help, I would appreciate

@rakuco
Copy link

rakuco commented Oct 22, 2014

git rebase -i <base-commit>
# squash, squash
git push -f my-origin my-branch

It is fine if your branch diverges, that's exactly what you did with your squashing.

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@ac2caad as its head.

Bot Status
V8 Linux ARM [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/38)
V8 Linux ia32 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/41)
V8 Linux x64 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/40)

@elvin-n
Copy link
Author

elvin-n commented Oct 22, 2014

Yes, the key '-f' make magic. Danger key...
Thank you for help

@rakuco
Copy link

rakuco commented Oct 22, 2014

ping @huningxin @fenghaitao

@halton
Copy link

halton commented Oct 22, 2014

@rakuco just let u know, @fenghaitao no longer work on crosswalk projects.

@rakuco
Copy link

rakuco commented Oct 22, 2014

right, is there anyone besides Ningxin who should be pinged for V8 reviews now?

@huningxin
Copy link
Contributor

I attended the design review of this feature. I am going to review the patch today. Thanks.

allocation_tracker_xdk_->CollectFreedObjects();
OutputStream::WriteResult result =
allocation_tracker_xdk_->SendChunk(stream);
// TODO(amalyshe): it's interesting who can return kAbbort and when and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo kAbbort?



PostCollectedInfo* RuntimeInfo::AddPreCollectionInfo(Address addr,
unsigned size) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argument indentation.

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@3fe152c as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/39)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/41)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/42)

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@f63800e as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/40)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/42)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/43)

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@6e58545 as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/41)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/43)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/44)

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@5db4b09 as its head.

Bot Status
V8 Linux ARM [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/42)
V8 Linux x64 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/44)
V8 Linux ia32 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/45)

@crosswalk-trybot
Copy link

Testing patch series with elvin-n/v8-crosswalk@66b6f26 as its head.

Bot Status
V8 Linux ARM [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/43)
V8 Linux x64 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/45)
V8 Linux ia32 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/46)

@huningxin
Copy link
Contributor

LGTM. Thanks for the efforts.

@rakuco
Copy link

rakuco commented Oct 29, 2014

Merging. The next step is to roll the dependency in Crosswalk -- you have to edit DEPS.xwalk there and change the SHA1 hash we're using for v8-crosswalk. Please make sure you take a look at the previous commits to that file, the format we use for the commits there is quite strict (we indicate which commits are being added with the SHA1 change, they can be obtained via git log --oneline --no-decorate). See crosswalk-project/crosswalk#2532 for a recent example (this was a blink-crosswalk roll, but the same rules apply to v8-crosswalk).

rakuco pushed a commit that referenced this pull request Oct 29, 2014
XDK heap profiler collector
@rakuco rakuco merged commit 03d8b6c into crosswalk-project:master Oct 29, 2014
mrunalk pushed a commit that referenced this pull request May 13, 2016
[email protected]
BUG=v8:4909
LOG=n

Review URL: https://codereview.chromium.org/1945283002 .

Cr-Commit-Position: refs/branch-heads/5.0@{#55}
Cr-Branched-From: ad16e6c-refs/heads/5.0.71@{#1}
Cr-Branched-From: bd9df50-refs/heads/master@{#34215}
mrunalk pushed a commit that referenced this pull request Jun 11, 2016
NOTRY=true
NOPRESUBMIT=true
[email protected]

Review-Url: https://codereview.chromium.org/2001043002
Cr-Commit-Position: refs/branch-heads/5.1@{#55}
Cr-Branched-From: 167dc63-refs/heads/5.1.281@{#1}
Cr-Branched-From: 03953f5-refs/heads/master@{#35282}
rakuco pushed a commit that referenced this pull request Sep 21, 2016
Revision: d8792ab

NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
[email protected], [email protected]
BUG=

Review-Url: https://codereview.chromium.org/2302003002
Cr-Commit-Position: refs/branch-heads/5.3@{#55}
Cr-Branched-From: 820a23a-refs/heads/5.3.332@{#2}
Cr-Branched-From: 37538cb-refs/heads/master@{#37308}
rakuco pushed a commit that referenced this pull request Oct 17, 2016
Revision: 4dab7b5

BUG=chromium:647887
LOG=N
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
[email protected], [email protected]

Review URL: https://codereview.chromium.org/2364843002 .

Cr-Commit-Position: refs/branch-heads/5.4@{#55}
Cr-Branched-From: 5ce2827-refs/heads/5.4.500@{#2}
Cr-Branched-From: ad07b49-refs/heads/master@{#38841}
imreotto pushed a commit to tenta-browser/v8-crosswalk that referenced this pull request Sep 4, 2017
Revision: b056073

NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true
[email protected]

Bug: 
Change-Id: Ib1cce0e52d3f0d413109bf0b7293b1c61117e6e8
Reviewed-on: https://chromium-review.googlesource.com/506749
Reviewed-by: Junliang Yan <[email protected]>
Commit-Queue: Junliang Yan <[email protected]>
Cr-Commit-Position: refs/branch-heads/5.9@{crosswalk-project#55}
Cr-Branched-From: fe9bb7e-refs/heads/5.9.211@{crosswalk-project#1}
Cr-Branched-From: 70ad237-refs/heads/master@{#44591}
asifhisam pushed a commit to asifhisam/v8-crosswalk that referenced this pull request Sep 9, 2019
This fixes behavior for HeapNumber {index} arguments passed to
AdvanceStringIndex.

Previously, we'd blindly treat {index} as a Smi. Passing a HeapNumber instead
would result in a Smi addition on the tagged HeapNumber pointer.

Backmerge of commit ed5496f.

BUG=chromium:709015
NOPRESUBMIT=true
NOTRY=true

Review-Url: https://codereview.chromium.org/2808033002
Cr-Commit-Position: refs/branch-heads/5.8@{crosswalk-project#55}
Cr-Branched-From: eda659c-refs/heads/5.8.283@{crosswalk-project#1}
Cr-Branched-From: 4310cd0-refs/heads/master@{#43429}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants