Skip to content

Bad value for $$ #3380

@donv

Description

@donv

Hi!

On one production machine we are getting a strange value for $$:

# jruby -e 'puts $$'
1252169911

This is the same value as the hash of the runtime mentioned in #2452:

# jruby -e "p java.lang.System.identity_hash_code(JRuby.runtime)"
1252169911

We have not been able to reproduce this on any other physical or virtual machine, and we have no idea where to start. Any help is greatly appreciated.

The machine is a newly installed Ubuntu 14.04 trusty 64-bit server. We are running with JRuby 9.0.1.0 on Oracle Java 1.8.0_60:

# jruby -v
jruby 9.0.1.0 (2.2.2) 2015-09-02 583f336 Java HotSpot(TM) 64-Bit Server VM 25.60-b23 on 1.8.0_60-b27 +jit [linux-amd64]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions