-
Enhancement
-
Resolution: Fixed
-
P4
-
21
-
b06
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8369977 | 21.0.10-oracle | Joakim Nordström | P4 | Resolved | Fixed | master |
It seems like /Zc:throwingNew- (the default) corresponds to gcc -fcheck-new, and /Zc:throwingNew corresponds to -fno-check-new (the default).
The Visual Studio documentation strongly recommends using /Zc:throwingNew if possible, as turning it off (the default) seriously bloats code and inhibits optimizations.
https://learn.microsoft.com/en-us/cpp/build/reference/zc-throwingnew-assume-operator-new-throws?view=msvc-170
As mentioned in
The documentation for /Zc:throwingNew is somewhat vague and confusing, so some investigation is probably needed to verify it really has the desired effect for us.
- backported by
-
JDK-8369977 Consider building with /Zc:throwingNew
-
- Resolved
-
- relates to
-
JDK-8349100 Regression >3% with J2dBench-vimg_text_aa across all of 24
-
- Closed
-
-
JDK-8305590 Remove nothrow exception specifications from operator new
-
- Resolved
-
-
JDK-8342639 Global operator new in adlc has wrong exception spec
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/a289bcfe
-
Review(master) openjdk/jdk/22039
(1 links to)