summaryrefslogtreecommitdiff
path: root/lib/optparse/date.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/optparse/date.rb')
-rw-r--r--lib/optparse/date.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/optparse/date.rb b/lib/optparse/date.rb
index d680559f37..7bbf12b77f 100644
--- a/lib/optparse/date.rb
+++ b/lib/optparse/date.rb
@@ -1,4 +1,5 @@
-require 'optparse'
+# frozen_string_literal: false
+require_relative '../optparse'
require 'date'
OptionParser.accept(DateTime) do |s,|
ighlight'> This commit adds an alternative packing strategy for compaction. Instead of packing towards "most pinned" pages, we can pack towards "most empty" pages. The idea is that we can double the heap size, then pack all objects towards the empty side of the heap. This will ensure maximum chaos for testing / verification. 2019-04-23Fix complex hash keys to work with compactionAaron Patterson For example when an array containing objects is a hash key, the contents of the array may move which can cause the hash value for the array to change. This commit makes the default `hash` value based off the object id, so the hash value will remain stable. Fixes test/shell/test_command_processor.rb 2019-04-20skip test until we can guarantee movement of certain objectstenderlove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20skip test if mjit is enabledtenderlove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20Workaround Wercker check which is not working nowk0kubun git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20Skip test_find_collided_object on problematic CIs for nowk0kubun git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20add more assertions around moved objecttenderlove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20check the index rather than includetenderlove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20Try harder to make objects movetenderlove Sometimes the objects we allocated may not get compacted. This change is to increase the likelyhood that they will move git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-20Add `GC.compact` again.tenderlove 🙏 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-17Reverting compaction for nowtenderlove For some reason symbols (or classes) are being overridden in trunk git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-17call verification method in addition to compactiontenderlove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-17Adding `GC.compact` and compacting GC support.tenderlove This commit adds the new method `GC.compact` and compacting GC support. Please see this issue for caveats: https://bugs.ruby-lang.org/issues/15626 [Feature #15626] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-10Reverting all commits from r67479 to r67496 because of CI failureskazu Because hard to specify commits related to r67479 only. So please commit again. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-09Don't fail the build if we can't get objects to movetenderlove git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-09Try to make compaction more likelytenderlove This commit tries to make compaction more likely by allocating some objects and then throwing them away git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-09Adding `GC.compact` and compacting GC support.tenderlove This commit adds the new method `GC.compact` and compacting GC support. Please see this issue for caveats: https://bugs.ruby-lang.org/issues/15626 [Feature #15626] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e