• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ivmai / bdwgc
77%

Build:
DEFAULT BRANCH: master
Repo Added 01 Feb 2017 10:19AM UTC
Files 56
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • HEAD
  • draft-travis
  • release-7_2
  • release-7_4
  • release-7_6
  • release-8_0
  • release-8_2
  • v7.6.10
  • v7.6.12
  • v7.6.14
  • v7.6.16
  • v7.6.2
  • v7.6.4
  • v7.6.6
  • v7.6.8
  • v8.0.0
  • v8.0.2
  • v8.0.4
  • v8.0.6
  • v8.0.8
  • v8.2.0
  • v8.2.2

22 May 2023 06:49PM UTC coverage: 76.624% (+0.1%) from 76.509%
1513

push

travis-ci-com

ivmai
Support client-defined stack pointer adjustment before thread stack push

New public GC_set_sp_corrector() and GC_get_sp_corrector() are defined.

This functionality might be useful for a crude integration with certain
coroutine implementations.

* darwin_stop_world.c [STACKPTR_CORRECTOR_AVAILABLE
&& DARWIN_DONT_PARSE_STACK] (GC_stack_range_for): Call GC_sp_corrector
if non-zero.
* pthread_stop_world.c [STACKPTR_CORRECTOR_AVAILABLE]
(GC_push_all_stacks): Likewise.
* win32_threads.c [STACKPTR_CORRECTOR_AVAILABLE] (GC_push_stack_for):
Likewise.
* include/gc/gc.h [GC_THREADS] (GC_sp_corrector_proc): New type; add
comment.
* include/gc/gc.h [GC_THREADS] (GC_set_sp_corrector,
GC_get_sp_corrector): New public function declaration.
* include/private/gc_priv.h [THREADS && STACKPTR_CORRECTOR_AVAILABLE]
(GC_sp_corrector): Declare variable.
* include/private/gcconfig.h [GC_PTHREADS && !E2K && !IA64 && (!DARWIN
|| DARWIN_DONT_PARSE_STACK) && !SN_TARGET_PSP2 && !REDIRECT_MALLOC]
(STACKPTR_CORRECTOR_AVAILABLE): Define macro; add comment.
* misc.c [THREADS && STACKPTR_CORRECTOR_AVAILABLE] (GC_sp_corrector):
Define GC_INNER variable.
* misc.c [THREADS] (GC_set_sp_corrector, GC_get_sp_corrector):
Implement (depending on STACKPTR_CORRECTOR_AVAILABLE).
* tests/gctest.c [GC_PTHREADS] (main): Call GC_get_sp_corrector() and
GC_set_sp_corrector().

13 of 13 new or added lines in 3 files covered. (100.0%)

7831 of 10220 relevant lines covered (76.62%)

8362669.09 hits per line

Relevant lines Covered
Build:
Build:
10220 RELEVANT LINES 7831 COVERED LINES
8362669.09 HITS PER LINE
Source Files on master
  • Tree
  • List 58
  • Changed 36
  • Source Changed 4
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1513 master Support client-defined stack pointer adjustment before thread stack push New public GC_set_sp_corrector() and GC_get_sp_corrector() are defined. This functionality might be useful for a crude integration with certain coroutine implementations. ... push 22 May 2023 08:48PM UTC ivmai travis-ci-com
76.62
1507 master Fix alt-stack handling in GC_push_all_stacks if stack grows up * pthread_stop_world.c [STACK_GROWS_UP] (GC_push_all_stacks): Set hi to crtn->altstack (instead of crtn->altstack+crtn->altstack_size) if lo is inside altstack; remove relevant FIXME ... push 20 May 2023 07:33AM UTC ivmai travis-ci-com
76.51
1504 master Make comparisons to the lowest heap boundary strict * alloc.c (GC_expand_hp_inner): Subtract sizeof(word) from new_limit (for the case when comparing to GC_least_plausible_heap_addr). * backgraph.c [MAKE_BACK_GRAPH] (add_back_edges): Compare curr... push 13 May 2023 10:04AM UTC ivmai travis-ci-com
76.54
1502 master Improve ABORT message in GC_darwin_sigbus * os_dep.c [MPROTECT_VDB && DARWIN && BROKEN_EXCEPTION_HANDLING] (GC_darwin_sigbus): Refine ABORT message. * os_dep.c [MPROTECT_VDB && DARWIN && BROKEN_EXCEPTION_HANDLING] (GC_dirty_init): Refine comment ... push 11 May 2023 06:16PM UTC ivmai travis-ci-com
76.82
1501 master Remove code duplication in gcconfig.h for Hurd (refactoring) * include/private/gcconfig.h [HURD && (I386 || X86_64)] (OS_TYPE, HEURISTIC2, SEARCH_FOR_DATA_START, DATAEND, DYNAMIC_LOADING, USE_MMAP_ANON): Move defintion to common place. * include/... push 08 May 2023 06:17AM UTC ivmai travis-ci-com
76.72
1500 master Workaround a malfunction of soft-dirty bits clearing on Power9 (fix of commit c1bf1b973) Issue #479 (bdwgc). Make a page dirty twice in detect_soft_dirty_supported() clearing all the soft-dirty bits in the middle. If the 2nd write to a page is ... push 04 May 2023 07:07PM UTC ivmai travis-ci-com
76.9
1499 master Update time statistics about stopped marking even if abandoned Also, move logging of the message about collection abandoning to the place after the world is resumed. * alloc.c (GC_stopped_mark): Rename i local variable to abandoned_at. * alloc.c... push 02 May 2023 09:35PM UTC ivmai travis-ci-com
76.87
1489 master Fix missing cast of typed calloc result in gctest (fix of commit fef1ce084) * tests/gctest.c [!NO_TYPED_TEST && !GC_DEBUG] (typed_test): Cast result of GC_calloc_do_explicitly_typed() to GC_word* type. push 27 Apr 2023 08:14PM UTC ivmai travis-ci-com
76.71
1488 master Fix missing extern C for __asan_default_options (fix of commit 84b695d01) Issue #206 (bdwgc). * os_dep.c [ADDRESS_SANITIZER && (UNIX_LIKE || NEED_FIND_LIMIT || MPROTECT_VDB) && !CUSTOM_ASAN_DEF_OPTIONS] (__asan_default_options): Add the declarat... push 27 Apr 2023 05:12PM UTC ivmai travis-ci-com
0.0
1487 master Do incremental mark some in GC_collect_a_little even if GC is disabled Previous behavior was not documented but this API function did nothing in this case. That might cause a deadlock in the client code if the incremental collection was ongoing ... push 25 Apr 2023 06:55AM UTC ivmai travis-ci-com
76.66
See All Builds (985)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc