MemoryManager: Use get_declared_classes() to build lists of static properties

This makes memory dumping independent from the autoloader implementation, and fixes #1958.
This commit is contained in:
Dylan K. Taylor
2018-01-23 18:23:53 +00:00
parent 6ddbdc9dc1
commit 8e1394bf53
2 changed files with 9 additions and 9 deletions

View File

@@ -52,7 +52,6 @@ class DumpWorkerMemoryTask extends AsyncTask{
MemoryManager::dumpMemory(
["worker" => $this->worker, "store" => $store],
$this->worker->getClassLoader(),
$this->outputFolder . DIRECTORY_SEPARATOR . "AsyncWorker#" . $this->worker->getAsyncWorkerId(),
$this->maxNesting,
$this->maxStringSize