Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 877
    • Issues 877
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GLib
  • Merge requests
  • !218

Drop a questionable test from the refstring suite

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Emmanuele Bassi requested to merge issue-1467 into master Aug 02, 2018
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Testing that an interned string is released once its last reference is dropped is not possible without a hook into the interning machinery; just checking that the returned pointer for the same string is going to be different after the last release() is not guaranteed to work, as the systema allocator is perfectly within its rights to recycle pointers, as long as they are unique while valid.

Closes #1467 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: issue-1467