-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 21
-
Component/s: infrastructure
-
b06
-
windows
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8369977 | 21.0.10-oracle | Joakim Nordström | P4 | Resolved | Fixed | b03 |
| JDK-8370837 | 21.0.10 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
| JDK-8370327 | 17.0.18-oracle | Joakim Nordström | P4 | Resolved | Fixed | b03 |
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
-
-
JDK-8370327 Consider building with /Zc:throwingNew
-
- Resolved
-
-
JDK-8370837 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-8307160 Fix AWT/2D/A11Y to support the permissive- flag on the Microsoft Visual C compiler
-
- Resolved
-
-
JDK-8342639 Global operator new in adlc has wrong exception spec
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk21u-dev/34a5b877
-
Commit(master)
openjdk/jdk/a289bcfe
-
Review(master)
openjdk/jdk21u-dev/2401
-
Review(master)
openjdk/jdk/22039