Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.7
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: None
    • Labels:
    • Environment:
      running 1.6.7.2 on ubuntu linux
    • Number of attachments :
      0

      Description

      When running a rails app in tomcat we see threads waiting on the synchronize in RubyModule::Autoload#getConstant. Here is a stacktrace of the thread where we are seeing the problem:

      https://gist.github.com/2884586

      Here is the defined? call in haml that is triggering the constant lookup:

      https://github.com/haml/haml/blob/master/lib/haml/util.rb#L82

      Haml has earlier issues interacting with autoload:

      https://github.com/haml/haml/commit/7ddd9f3581d88f784850ab0bb036bc69409ab07a

        Activity

        Hide
        Alex Tambellini added a comment -
        Show
        Alex Tambellini added a comment - This was fixed in 1.7 by this commit: https://github.com/jruby/jruby/commit/e5420b235ab4a1b0e4c0ff0bca1a1265a6a709c4
        Hide
        Matt Wilson added a comment -

        Has this change also made in the 1.6 branch? I'm seeing this problem now, mysteriously when we didn't see it earlier with the same revision. Do you know of any runtime properties that might cause this error?

        Show
        Matt Wilson added a comment - Has this change also made in the 1.6 branch? I'm seeing this problem now, mysteriously when we didn't see it earlier with the same revision. Do you know of any runtime properties that might cause this error?

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            Alex Tambellini
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: