Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
$ jruby -rbigdecimal -e 'puts BigDecimal("9E69999999").to_s("F")'
Full thread dump Java HotSpot(TM) Client VM (1.5.0_16-133 mixed mode, sharing):
"Low Memory Detector" daemon prio=5 tid=0x01009270 nid=0x81d400 runnable [0x00000000..0x00000000]
"CompilerThread0" daemon prio=9 tid=0x01008860 nid=0x81c600 waiting on condition [0x00000000..0xb0e077d8]
"Signal Dispatcher" daemon prio=9 tid=0x01008380 nid=0x81b800 waiting on condition [0x00000000..0x00000000]
"Finalizer" daemon prio=8 tid=0x01007bd0 nid=0x817000 in Object.wait() [0xb0c05000..0xb0c05d90]
at java.lang.Object.wait(Native Method)
- waiting on <0x0c820798> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(
- locked <0x0c820798> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(
at java.lang.ref.Finalizer$
"Reference Handler" daemon prio=10 tid=0x01007810 nid=0x815800 in Object.wait() [0xb0b04000..0xb0b04d90]
at java.lang.Object.wait(Native Method)
- waiting on <0x0c820820> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(
at java.lang.ref.Reference$
- locked <0x0c820820> (a java.lang.ref.Reference$Lock)
"main" prio=5 tid=0x010016d0 nid=0xb0801000 runnable [0xb07ff000..0xb0800188]
at java.math.BigInteger.destructiveMulAdd(
at java.math.BigInteger.<init>(
at java.math.BigDecimal.tenToThe(
at java.math.BigDecimal.setScale(
at java.math.BigDecimal.setScale(
at java.math.BigDecimal.toPlainString(
at org.jruby.RubyBigDecimal.floatingPointValue(
at org.jruby.RubyBigDecimal.to_s(
at org.jruby.RubyBigDecimal$i_method_0_1$RUBYINVOKER$$i_method_0_1$RUBYINVOKER$to_s.gen)
at org.jruby.internal.runtime.methods.JavaMethod$
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(
at ruby.__dash_e__.__file__(-e:1)
at ruby.__dash_e__.load(-e)
at org.jruby.Ruby.runScript(
at org.jruby.Ruby.runNormally(
at org.jruby.Ruby.runFromMain(
at org.jruby.Main.main(
"VM Thread" prio=9 tid=0x01006f60 nid=0x814a00 runnable
"VM Periodic Task Thread" prio=9 tid=0x01009e50 nid=0x805800 waiting on condition
"Exception Catcher Thread" prio=10 tid=0x010018b0 nid=0x80ac00 runnable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.