ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: naruse@ruby-lang.org
Cc: ruby-core@ruby-lang.org
Subject: [ruby-core:79228] Re: [ruby-cvs:64576] naruse:r57410 (trunk): Prevent GC by volatile [Bug #13150]
Date: Mon, 23 Jan 2017 19:37:25 +0000	[thread overview]
Message-ID: <20170123193725.GA11940@dcvr.yhbt.net> (raw)
In-Reply-To: <20170123165827.C1F2E63373@svn.ruby-lang.org>

naruse@ruby-lang.org wrote:
>     Prevent GC by volatile [Bug #13150]
>     
>     test/ruby/test_marshal.rb test_context_switch (load) and test_gc (dump)
>     are failed on FreeBSD 10.3 and gcc7 (FreeBSD Ports Collection) 7.0.0
>     20170115 (experimental); RB_GC_GUARD looks not worked well.

Have you tried to experiment with making RB_GC_GUARD stronger
for gcc7, instead?  There may be similar bugs, and I would rather
improve RB_GC_GUARD than add volatiles (which are more subtle
and have more variance between implementations).

Thanks

>   Modified files:
>     trunk/marshal.c

       reply	other threads:[~2017-01-23 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170123165827.C1F2E63373@svn.ruby-lang.org>
2017-01-23 19:37 ` Eric Wong [this message]
2017-02-13  1:04   ` [ruby-core:79511] Re: [ruby-cvs:64576] naruse:r57410 (trunk): Prevent GC by volatile [Bug #13150] Eric Wong
2017-02-13 10:05     ` [ruby-core:79518] " Nobuyoshi Nakada
2017-02-15  7:27       ` [ruby-core:79534] " Nobuyoshi Nakada
2017-02-15  8:45         ` [ruby-core:79536] " Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170123193725.GA11940@dcvr.yhbt.net \
    --to=ruby-core@ruby-lang.org \
    --cc=naruse@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).