MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / getAndSetFlag

Method getAndSetFlag

src/j9StackTraces.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31 public:
32 uintptr_t getAndSetFlag(uintptr_t flag) {
33 return __sync_fetch_and_or(&_flags, flag);
34 }
35
36 void clearFlag(uintptr_t flag) {
37 __sync_fetch_and_and(&_flags, ~flag);

Callers 1

checkpointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected