-
-
Notifications
You must be signed in to change notification settings - Fork 925
Comparing changes
Open a pull request
base repository: jruby/jruby
base: bc4b090ecd04
head repository: jruby/jruby
compare: b607f5258d3a
Commits on Sep 15, 2016
-
Format initial string to specific precision, so rounding works.
The logic in our double-based sprintf logic attempts to round values manually by inspecting a long-form version of the double. If we need to round, and the next digit is a five, it will round toward zero (truncate) iff that five is the last digit in the long unrounded string. This appears to have been an attempt to mimic C printf's behavior of rounding "true half" to even in the presence of inaccurately-represented IEEE754 decimals. This commit changes the pre-formatting to actually format with the specified precision, allowing NumberFormat's default HALF_EVEN logic to to the work for us. Fixes #4157.
Configuration menu - View commit details
-
Copy full SHA for 6cef061 - Browse repository at this point
Copy the full SHA 6cef061View commit details
Commits on Sep 30, 2016
-
Inspect directly into a RubyString and avoid StringBuilder/char[].
This should reduce the overhead of inspecting by avoiding the intermediate StringBuilder/char[] and subsequent conversion to byte[]. There are a few extra objects created along the way (java.lang.String.getBytes, RubyString for class name, etc) but overall memory use should reduce around 3x: a US-ASCII string would need 2x byte size in the StringBuilder, and the builder is still alive when we create the eventual byte[] for a total of 3x max memory use during inspect. Relates to #4127, but does not constitute a fix for memory issues there.
Configuration menu - View commit details
-
Copy full SHA for a40621d - Browse repository at this point
Copy the full SHA a40621dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8131146 - Browse repository at this point
Copy the full SHA 8131146View commit details
Commits on Oct 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for f7263a2 - Browse repository at this point
Copy the full SHA f7263a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d880cf - Browse repository at this point
Copy the full SHA 9d880cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d73a809 - Browse repository at this point
Copy the full SHA d73a809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f36e15 - Browse repository at this point
Copy the full SHA 3f36e15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76120f9 - Browse repository at this point
Copy the full SHA 76120f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 093d234 - Browse repository at this point
Copy the full SHA 093d234View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bcfdd8 - Browse repository at this point
Copy the full SHA 9bcfdd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6227536 - Browse repository at this point
Copy the full SHA 6227536View commit details -
Fixes for UDPSocket.send based on rubysl-socket specs.
* Handle Addrinfo or packed sockaddr as destination. * Try all addresses for a given hostname.
Configuration menu - View commit details
-
Copy full SHA for b56a192 - Browse repository at this point
Copy the full SHA b56a192View commit details -
Configuration menu - View commit details
-
Copy full SHA for d659903 - Browse repository at this point
Copy the full SHA d659903View commit details -
Last fixes for UDPSocket based on rubysl-socket specs.
* Handle family argument to initialize better. * Try all addresses for connect when no explicit family specified. * Raise proper error for wrong family.
Configuration menu - View commit details
-
Copy full SHA for 9337fdd - Browse repository at this point
Copy the full SHA 9337fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c34eff - Browse repository at this point
Copy the full SHA 2c34effView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4207acd - Browse repository at this point
Copy the full SHA 4207acdView commit details
Commits on Oct 11, 2016
-
Fixed initialization with nil nodename `Addrinfo.new(['AF_INET6', 59656, nil, '::1'], 30, 1, 6)`
Configuration menu - View commit details
-
Copy full SHA for a5bf7de - Browse repository at this point
Copy the full SHA a5bf7deView commit details -
Configuration menu - View commit details
-
Copy full SHA for feba193 - Browse repository at this point
Copy the full SHA feba193View commit details -
Configuration menu - View commit details
-
Copy full SHA for 869c5e5 - Browse repository at this point
Copy the full SHA 869c5e5View commit details -
Merge pull request #4216 from etehtsea/socket-udp-improvements
UDP socket improvements
Configuration menu - View commit details
-
Copy full SHA for 1a6f27a - Browse repository at this point
Copy the full SHA 1a6f27aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a65df74 - Browse repository at this point
Copy the full SHA a65df74View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c44b1 - Browse repository at this point
Copy the full SHA e3c44b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38ee84d - Browse repository at this point
Copy the full SHA 38ee84dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e7ba5 - Browse repository at this point
Copy the full SHA 68e7ba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e6e8cc - Browse repository at this point
Copy the full SHA 7e6e8ccView commit details -
Fix up BasicSocket#close_read and close_write.
Passes specs in rubysl-socket.
Configuration menu - View commit details
-
Copy full SHA for b9d6a49 - Browse repository at this point
Copy the full SHA b9d6a49View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4dd94c - Browse repository at this point
Copy the full SHA a4dd94cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d15290 - Browse repository at this point
Copy the full SHA 4d15290View commit details -
Merge pull request #4214 from jruby/jnr-posix-getgroups
[Truffle] Use the new getgroups POSIX call.
Configuration menu - View commit details
-
Copy full SHA for b99152c - Browse repository at this point
Copy the full SHA b99152cView commit details
Commits on Oct 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for dd22224 - Browse repository at this point
Copy the full SHA dd22224View commit details -
Configuration menu - View commit details
-
Copy full SHA for def7839 - Browse repository at this point
Copy the full SHA def7839View commit details -
Fix UNIXServer#accept_nonblock(exception: false)
Introduced in cc79119
Configuration menu - View commit details
-
Copy full SHA for 57e672c - Browse repository at this point
Copy the full SHA 57e672cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cd1cbe - Browse repository at this point
Copy the full SHA 8cd1cbeView commit details -
Fix the incorrect opscode mapping in f2i()
- f2i() should be mapped to F2I, instead of F2D. - The incorrect opscode mapping appears to be a copy-paste editing error. - Due to the error, when float-to-integer narrowing numeric conversion should occur, float-to-double widening numeric conversion was being done, which can have a negative impact on performance or memory usage.
Configuration menu - View commit details
-
Copy full SHA for 7e1c5e5 - Browse repository at this point
Copy the full SHA 7e1c5e5View commit details -
Merge pull request #4220 from etehtsea/eaddrinuse
Handle EADDRINUSE message in IOException.
Configuration menu - View commit details
-
Copy full SHA for 2a091bc - Browse repository at this point
Copy the full SHA 2a091bcView commit details -
Merge pull request #4221 from etehtsea/unix-socket-improvements
UNIX sockets improvements
Configuration menu - View commit details
-
Copy full SHA for 8a8d577 - Browse repository at this point
Copy the full SHA 8a8d577View commit details -
Merge pull request #4222 from etehtsea/basicsocket-improvements
BasicSocket improvements
Configuration menu - View commit details
-
Copy full SHA for 2c86bfd - Browse repository at this point
Copy the full SHA 2c86bfdView commit details -
Merge pull request #4224 from himosqui/patch-2
Fix the incorrect opscode mapping in f2i()
Configuration menu - View commit details
-
Copy full SHA for 7c55b3b - Browse repository at this point
Copy the full SHA 7c55b3bView commit details -
Merge pull request #4128 from headius/lighter_inspect
Inspect directly into a RubyString and avoid StringBuilder/char[].
Configuration menu - View commit details
-
Copy full SHA for 256042b - Browse repository at this point
Copy the full SHA 256042bView commit details -
Merge pull request #4159 from headius/sprintf_rounding
Format initial string to specific precision, so rounding works.
Configuration menu - View commit details
-
Copy full SHA for 7f9866b - Browse repository at this point
Copy the full SHA 7f9866bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 576e401 - Browse repository at this point
Copy the full SHA 576e401View commit details
Commits on Oct 13, 2016
-
1
Configuration menu - View commit details
-
Copy full SHA for ee0b9b1 - Browse repository at this point
Copy the full SHA ee0b9b1View commit details
Commits on Oct 16, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d573d28 - Browse repository at this point
Copy the full SHA d573d28View commit details -
Configuration menu - View commit details
-
Copy full SHA for b607f52 - Browse repository at this point
Copy the full SHA b607f52View commit details
There are no files selected for viewing