Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

[REG] Simple multithreaded program + "-profile=gc" = crash#1803

Merged
WalterBright merged 1 commit intodlang:stablefrom
mihails-strasuns-sociomantic:stable
Apr 6, 2017
Merged

[REG] Simple multithreaded program + "-profile=gc" = crash#1803
WalterBright merged 1 commit intodlang:stablefrom
mihails-strasuns-sociomantic:stable

Conversation

@mihails-strasuns-sociomantic
Copy link
Contributor

Fixes issue 15947 (https://issues.dlang.org/show_bug.cgi?id=15947)
Fixes issue 14511 (https://issues.dlang.org/show_bug.cgi?id=14511)

Root problem was trying to increment non-existent AA field upon merging profile
stats. The code was also simplified to remove unnecessary condition.

Fixes issue 15947 (https://issues.dlang.org/show_bug.cgi?id=15947)
Fixes issue 14511 (https://issues.dlang.org/show_bug.cgi?id=14511)

Root problem was trying to increment non-existent AA field upon merging profile
stats. The code was also simplified to remove unnecessary condition.
@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
14511 Profiler does not work with multithreaded programs
15947 [REG 2.069.0?] simple multithreaded program + "-profile=gc" = crash

@dlang-bot dlang-bot added the Bug Fix Include reference to corresponding bugzilla issue label Apr 6, 2017
@mihails-strasuns-sociomantic
Copy link
Contributor Author

FYI @WalterBright @MartinNowak

@WalterBright WalterBright merged commit f056b99 into dlang:stable Apr 6, 2017
@mihails-strasuns-sociomantic
Copy link
Contributor Author

Thanks!

@MartinNowak is it possible to do merge of stable into master without waiting for next point release? I am working on -profile=gc enhancements that require this fix.

@japplegame
Copy link

I made a similar PR many months ago - #1664
But no one bothered to accept or decline it.
This makes me angry.

@WalterBright
Copy link
Member

You're right and you're justified in being annoyed. I apologize.

tramker pushed a commit to tramker/druntime that referenced this pull request Jun 9, 2017
[REG] Simple multithreaded program + "-profile=gc" = crash

Signed-off-by: Martin Krejcirik <mk@krej.cz>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Bug Fix Include reference to corresponding bugzilla issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants