Bug 162022 - Atomics.h on Windows: remove seq_cst hack
Summary: Atomics.h on Windows: remove seq_cst hack
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: JF Bastien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-15 09:52 PDT by JF Bastien
Modified: 2016-09-27 16:23 PDT (History)
5 users (show)

See Also:


Attachments
patch (6.54 KB, patch)
2016-09-15 09:55 PDT, JF Bastien
no flags Details | Formatted Diff | Diff
patch (3.97 KB, patch)
2016-09-15 09:55 PDT, JF Bastien
sam: review+
Details | Formatted Diff | Diff
patch (3.98 KB, patch)
2016-09-27 12:22 PDT, JF Bastien
no flags Details | Formatted Diff | Diff
patch (3.98 KB, patch)
2016-09-27 13:53 PDT, JF Bastien
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2016-09-15 09:52:32 PDT
I think the code may have the same issue on Windows as it did on GCC at -Os in this bug:
  https://bugs.webkit.org/show_bug.cgi?id=155371

Now that the functions are always inlined the Windows issue may be no more. Let's throw a patch at the bots and see if they're happy!
Comment 1 JF Bastien 2016-09-15 09:55:17 PDT
Created attachment 288961 [details]
patch

Throwing it to the bots, let's see if they're happy.
Comment 2 JF Bastien 2016-09-15 09:55:41 PDT
Created attachment 288962 [details]
patch

Wrong patch....
Comment 3 Sam Weinig 2016-09-15 12:28:14 PDT
Comment on attachment 288962 [details]
patch

Well, you should probably make sure the windows bot builds first.
Comment 4 JF Bastien 2016-09-15 13:20:45 PDT
(In reply to comment #3)
> Comment on attachment 288962 [details]
> patch
> 
> Well, you should probably make sure the windows bot builds first.

Yeah I was hoping it would fail because of my patch, or be green... it's failing without my patch :(
Comment 5 JF Bastien 2016-09-15 13:33:25 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > Comment on attachment 288962 [details]
> > patch
> > 
> > Well, you should probably make sure the windows bot builds first.
> 
> Yeah I was hoping it would fail because of my patch, or be green... it's
> failing without my patch :(

Trying to fix it here: https://bugs.webkit.org/show_bug.cgi?id=162031
Comment 6 JF Bastien 2016-09-27 12:22:34 PDT
Created attachment 289996 [details]
patch

Windows build was fixed a while ago, rebasing and re-uploading since I wrote my patch a few days ago. Sam Weinig had r+'d the previous match.
Comment 7 JF Bastien 2016-09-27 13:53:02 PDT
Comment on attachment 289996 [details]
patch

Windows bot was temporarily borked again. Should be fixed now...
Comment 8 JF Bastien 2016-09-27 13:53:54 PDT
Created attachment 290005 [details]
patch

Same patch, Windows bot is now fixed.
Comment 9 Mark Lam 2016-09-27 15:55:50 PDT
Comment on attachment 290005 [details]
patch

r=me
Comment 10 WebKit Commit Bot 2016-09-27 16:23:17 PDT
Comment on attachment 290005 [details]
patch

Clearing flags on attachment: 290005

Committed r206468: <http://trac.webkit.org/changeset/206468>
Comment 11 WebKit Commit Bot 2016-09-27 16:23:24 PDT
All reviewed patches have been landed.  Closing bug.