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

Revert "XDK Heap Profiler collector and XDK CPUProfiler" #157

Merged
merged 2 commits into from
Jun 20, 2016

Conversation

rakuco
Copy link

@rakuco rakuco commented Jun 20, 2016

This reverts commit 6e8bb75.

This commit as-is breaks the M51 standalone build:

../test/cctest/test-cpu-profiler.cc:1626:29: error: no viable conversion from 'const std::vector<const v8::CpuProfileNode *>' to 'const v8::CpuProfileNode *'
  const v8::CpuProfileNode* start_node = GetChild(env, root, "start");
                            ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../test/cctest/test-cpu-profiler.cc:1628:29: error: no viable conversion from 'const std::vector<const v8::CpuProfileNode *>' to 'const v8::CpuProfileNode *'
  const v8::CpuProfileNode* level2_node = GetChild(env, level1_node, "level2");
                            ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../test/cctest/test-profile-generator.cc:291:8: error: no matching member function for call to 'AddPathFromEnd'
  tree.AddPathFromEnd(path_vec);
  ~~~~~^~~~~~~~~~~~~~
.././src/profiler/profile-generator.h:215:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<StackEntry>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
.././src/profiler/profile-generator.h:221:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<CodeEntry *>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
../test/cctest/test-profile-generator.cc:324:8: error: no matching member function for call to 'AddPathFromEnd'
  tree.AddPathFromEnd(path_vec2);
  ~~~~~^~~~~~~~~~~~~~
.././src/profiler/profile-generator.h:215:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<StackEntry>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
.././src/profiler/profile-generator.h:221:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<CodeEntry *>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^

This reverts commit 6e8bb75.

This commit as-is breaks the M51 standalone build:

```
../test/cctest/test-cpu-profiler.cc:1626:29: error: no viable conversion from 'const std::vector<const v8::CpuProfileNode *>' to 'const v8::CpuProfileNode *'
  const v8::CpuProfileNode* start_node = GetChild(env, root, "start");
                            ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../test/cctest/test-cpu-profiler.cc:1628:29: error: no viable conversion from 'const std::vector<const v8::CpuProfileNode *>' to 'const v8::CpuProfileNode *'
  const v8::CpuProfileNode* level2_node = GetChild(env, level1_node, "level2");
                            ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../test/cctest/test-profile-generator.cc:291:8: error: no matching member function for call to 'AddPathFromEnd'
  tree.AddPathFromEnd(path_vec);
  ~~~~~^~~~~~~~~~~~~~
.././src/profiler/profile-generator.h:215:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<StackEntry>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
.././src/profiler/profile-generator.h:221:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<CodeEntry *>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
../test/cctest/test-profile-generator.cc:324:8: error: no matching member function for call to 'AddPathFromEnd'
  tree.AddPathFromEnd(path_vec2);
  ~~~~~^~~~~~~~~~~~~~
.././src/profiler/profile-generator.h:215:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<StackEntry>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
.././src/profiler/profile-generator.h:221:16: note: candidate function not viable: no known conversion from 'Vector<i::StackEntry>' to 'const std::vector<CodeEntry *>' for 1st argument
  ProfileNode* AddPathFromEnd(
               ^
```
@crosswalk-trybot
Copy link

crosswalk-trybot commented Jun 20, 2016

Testing patch series with rakuco/v8-crosswalk@e236921 as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/203)
V8 Linux ARM64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM64/builds/7)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/206)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/205)

@crosswalk-trybot
Copy link

crosswalk-trybot commented Jun 20, 2016

Testing patch series with rakuco/v8-crosswalk@9933ba6 as its head.

Bot Status
V8 Linux ARM [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/204)
V8 Linux ARM64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ARM64/builds/8)
V8 Linux ia32 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/207)
V8 Linux x64 [FAILED 💔](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/206)

The presubmit hooks fail even though the original upstream files are not
compliant. Run `git-cl format v8` to make the coding style checks pass.
This commit was not squashed into e236921 (Revert "XDK Heap Profiler
collector and XDK CPUProfiler") to make it easier for future rebases to
skip this change if necessary.
@rakuco rakuco force-pushed the fix-standalone-build branch from 9933ba6 to 4e54260 Compare June 20, 2016 11:43
@crosswalk-trybot
Copy link

crosswalk-trybot commented Jun 20, 2016

Testing patch series with rakuco/v8-crosswalk@4e54260 as its head.

Bot Status
V8 Linux ARM [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ARM/builds/205)
V8 Linux ARM64 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ARM64/builds/9)
V8 Linux ia32 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux ia32/builds/208)
V8 Linux x64 [SUCCESS 💚](https://build.crosswalk-project.org/try/builders/V8 Linux x64/builds/207)

@rakuco
Copy link
Author

rakuco commented Jun 20, 2016

@mrunalk: the standalone V8 build has been broken for almost a week since you pushed the M51 V8, and it looks like you were not watching the bots once you pushed the rebased master.

To clarify: you should first push v8-crosswalk and chromium-crosswalk and only proceed with Crosswalk itself once you verify the forks are building correctly.

@r0b5t4
Copy link

r0b5t4 commented Jun 20, 2016

rs+

@rakuco rakuco merged commit 78a7e24 into crosswalk-project:master Jun 20, 2016
@rakuco rakuco deleted the fix-standalone-build branch June 20, 2016 12:55
@mrunalk
Copy link
Contributor

mrunalk commented Jun 20, 2016

@rakuco, It cannot be a week as I pushed M51 last Wednesday. :) I typically don't watch V8 bots as it's usually taken care of by SIMD folks, since there were no major changes to SIMD or XDK this time that somehow slipped through my mind. I will add that to my checklist from now on. Thanks for taking care of it.

@rakuco
Copy link
Author

rakuco commented Jun 21, 2016

@rakuco, It cannot be a week as I pushed M51 last Wednesday. :)

Er, sorry, I looked at the wrong dates.

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.

4 participants