How exactly the new() function is allocating memory in systemverilog

In reply to SATYA369:

It’s either malloc or something similar to malloc, where malloc could be owned by the operating system or C library, or the simulator vendor could implements its own version.