forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMSSW GCC 7.0.1 builds now follows jemalloc (dev branch) and also has a new TCMalloc. Both of these have C++14 sized deallocation feature enabled. This means that if possible operator delete will be called with size argument, which will help allocator to reduce the time to free the object. E.g. this is not possible for incomplete types which size is unknown at a time. GCC 7.0.1 builds contain an additional build of jemalloc (jemalloc-debug) which contains extra asserts and checks for developers. This seems to be undefined behavior in C++14. From [expr.delete] (5.3.5 Delete): In the first alternative (delete object), if the static type of the object to be deleted is different from its dynamic type, the static type shall be a base class of the dynamic type of the object to be deleted and the static type shall have a virtual destructor or the behavior is undefined. Signed-off-by: David Abdurachmanov <[email protected]>
- Loading branch information
David Abdurachmanov
authored and
David Abdurachmanov
committed
Apr 8, 2017
1 parent
3804d4a
commit 04a4375
Showing
7 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ namespace edm { | |
|
||
namespace l1t { | ||
class PackerTokens { | ||
public: | ||
virtual ~PackerTokens() = default; | ||
}; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters