Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce SetExtraMarkFuncBags #2706

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

markuspf
Copy link
Member

Requested for LibGAP #2702

src/gasman.h Outdated
// ExtraMarkFuncBags, if not NULL, is called during garbage collection
// This is used for integrating GAP (possibly linked as a shared library) with
// other code bases which use their own form of garbage collection. For
// example, with Python (for SageMath) or Julia.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really for Julia, as we are using the Julia GC there.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be somewhat helpful if I knew which bits of garbage collection I should care about; at the moment I run with "if it works and tests pass in the master branch, I fire and forget", should I start worrying about boehm and julia gcs?

And if so, I need ways to test them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see how my remarks imply that you should/need to worry about Julia's GC and/or Boehm GC... All I am saying is that for the GAP-Julia interface being created as part of the OSCAR project, SetExtraMarkFuncBags won't be used, because there we don't actually use GASMAN; hence "or Julia" should be dropped from that comment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(To clarify: I don't mind if it stays in, or is removed on a later date; feel free to merge right away; I am merely pointing out that it is not based on an actual application that I am aware of).

@codecov
Copy link

codecov bot commented Aug 15, 2018

Codecov Report

Merging #2706 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2706      +/-   ##
==========================================
- Coverage   75.66%   75.66%   -0.01%     
==========================================
  Files         478      478              
  Lines      241439   241441       +2     
==========================================
- Hits       182685   182681       -4     
- Misses      58754    58760       +6
Impacted Files Coverage Δ
src/gasman.h 94.87% <ø> (ø) ⬆️
src/gasman.c 87.56% <0%> (-0.3%) ⬇️
hpcgap/lib/hpc/stdtasks.g 64.19% <0%> (-0.77%) ⬇️
src/stats.c 89.43% <0%> (-0.2%) ⬇️

@fingolfin fingolfin added topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Aug 15, 2018
@fingolfin fingolfin merged commit 01e44a1 into gap-system:master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants