Skip to content

runtime: rename GODEBUGCPU=foo=bar to GODEBUG=cpu.foo=bar #28757

Closed

Description

@rsc

We have successfully managed to use a single GODEBUG environment variable for runtime, net, and net/http. It doesn't really make sense to have the runtime add a second. It's not that special. Instead we should add the functionality currently in GODEBUGCPU to GODEBUG, with longer key names.

Go 1.12 intends to document the new cpu controls (see #27218), so we should change this for Go 1.12. (It has never been documented before.)

/cc @martisch @aclements

Activity

  1. added this to the Go1.12 milestone on Nov 13, 2018
  2. martisch commented on Nov 13, 2018

    @martisch
    Contributor

    SGTM. I will make the changes to move GODEBUGCPU functionality into GODEBUG for Go 1.12.

  3. self-assigned this
    on Nov 13, 2018
  4. gopherbot commented on Nov 14, 2018

    @gopherbot
    Contributor

    Change https://golang.org/cl/149578 mentions this issue: internal/cpu: move GODEBUGCPU options into GODEBUG

  5. added a commit that references this issue on Nov 21, 2018
    2de5390
  6. locked and limited conversation to collaborators on Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions